diff options
author | Jiri Olsa <[email protected]> | 2020-06-02 23:47:29 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-22 16:28:08 -0300 |
commit | 387ad33fe710758a8e1b860819a7452bceb4329a (patch) | |
tree | 828d4602012381d3408f3f6308cff02c3471109a /tools/perf/scripts/python/mem-phys-addr.py | |
parent | a1f8bc95c33e953e080f72be4b95176dacb423b0 (diff) |
perf tools: Add fake pmu support
Add a way to create a pmu event without the actual PMU being in place.
This way we can test metrics defined for any processor.
The interface is to define fake_pmu in struct parse_events_state data.
It will be used only in tests via special interface function added in
following changes.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions