aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2014-05-07 18:51:41 +0200
committerJiri Olsa <[email protected]>2014-06-12 16:53:21 +0200
commitc3fbd2a606c5f88de0079b027727a1fb0ae27b65 (patch)
treef3704df2485b4250ac7df3027edf7a665ef68cb1 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentc658045197814b7d762662f9aa9f652379121a03 (diff)
perf tools: Add file size check and factor dso__data_read_offset
Adding file size check, because the lseek will succeed for any offset behind file size and thus succeed when it was expected to fail. Factoring the code to check the offset against file size earlier in the flow. Acked-by: Namhyung Kim <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Corey Ashford <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jean Pihet <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions