diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-30 14:50:15 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-07 15:22:17 +0000 |
| commit | f1cedfb82858c8a7ec21e45d0ce7b6e2ce9edea0 (patch) | |
| tree | 4755fd25c223485e743ee9d4150522616348f282 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | perf/core: Fix inheritance of aux_output groups (diff) | |
| download | kernel-f1cedfb82858c8a7ec21e45d0ce7b6e2ce9edea0.tar.gz kernel-f1cedfb82858c8a7ec21e45d0ce7b6e2ce9edea0.zip | |
perf env: Add routine to read the env->cpuid from the running machine
In 'perf top' we use that cpuid when initializing the per arch
annotation init routines (e.g. x86__annotate_init()) and in that case
(live mode, 'perf top') we need to obtain it from the running machine,
not from a perf.data file header.
Provide a means to do that. Will be used by 'perf top' in a followup
patch.
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
