aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-09-30 14:53:00 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-10-07 15:22:17 +0000
commit608127f73779bfc199158b61efdbdb690720e542 (patch)
tree6305a4ec15bc3574c0b994433ed44ac8c1538ad8 /tools/perf/scripts/python/compaction-times.py
parentperf env: Add routine to read the env->cpuid from the running machine (diff)
downloadkernel-608127f73779bfc199158b61efdbdb690720e542.tar.gz
kernel-608127f73779bfc199158b61efdbdb690720e542.zip
perf top: Initialize perf_env->cpuid, needed by the per arch annotation init routine
Just read it so that later on the per arch init routine can use it, e.g. x86__annotate_init(). When using a perf.data file this is obtained from a header that was put there by 'perf record', and then it may be for another machine, another arch. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[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