aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2022-07-11 12:32:04 +0300
committerArnaldo Carvalho de Melo <[email protected]>2022-07-20 11:08:34 -0300
commit65691e9ff0c90109dd7d9d495d9528ad4c1b82d4 (patch)
treec0355b7809aeceb4987267071be21229fb2e0ce8 /tools/perf/scripts/python/syscall-counts.py
parent386e0d83d351a4461525b06b845ffcd58235381e (diff)
perf tools: Make has_kcore_dir() work also for guest kcore_dir
Copies of /proc/kallsyms, /proc/modules and an extract of /proc/kcore can be stored in the perf.data output directory under the subdirectory named kcore_dir. Guest machines will have their files also under subdirectories beginning kcore_dir__ followed by the machine pid. Make has_kcore_dir() return true also if there is a guest machine kcore_dir. Signed-off-by: Adrian Hunter <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions