aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2020-04-10 21:33:53 +0000
committerLinus Torvalds <[email protected]>2020-04-10 22:36:22 +0000
commit6d573a07528308eb77ec072c010819c359bebf6e (patch)
tree00a23959e5669c3690e437d6fb4495087c3be692 /tools/perf/scripts/python/export-to-sqlite.py
parentdocs: admin-guide: document the kernel.modprobe sysctl (diff)
downloadkernel-6d573a07528308eb77ec072c010819c359bebf6e.tar.gz
kernel-6d573a07528308eb77ec072c010819c359bebf6e.zip
selftests: kmod: fix handling test numbers above 9
get_test_count() and get_test_enabled() were broken for test numbers above 9 due to awk interpreting a field specification like '$0010' as octal rather than decimal. Fix it by stripping the leading zeroes. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Luis Chamberlain <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jeff Vander Stoep <[email protected]> Cc: Jessica Yu <[email protected]> Cc: Kees Cook <[email protected]> Cc: NeilBrown <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions