aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorDonald Yandt <[email protected]>2019-05-28 13:41:28 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-05-28 21:37:44 +0000
commit34b65affe18daad31fed83e50d1f3b817786a2b7 (patch)
tree1f94a5a9dd451cae8f7800c0433f69f4c205ab72 /tools/perf/scripts/python/compaction-times.py
parentperf version: Append 12 git SHA chars to the version string (diff)
downloadkernel-34b65affe18daad31fed83e50d1f3b817786a2b7.tar.gz
kernel-34b65affe18daad31fed83e50d1f3b817786a2b7.zip
perf machine: Return NULL instead of null-terminating /proc/version array
Return NULL instead of null-terminating version char array when fgets fails due to end-of-file or error. Signed-off-by: Donald Yandt <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Yanmin Zhang <[email protected]> Fixes: 30ba5b0e66c8 ("perf machine: Null-terminate version char array upon fgets(/proc/version) error") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions