diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-03 12:32:55 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-22 16:28:08 -0300 |
commit | 3bf91aa5aa493b2ac24ffcfc93ffe861bf03685f (patch) | |
tree | 999fa42ba2573aada873038b55ea4493dcd85ea0 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 34bacc9578de2893ab6301cea89ea001d8e4cf5b (diff) |
perf parse: Provide a way to pass a fake_pmu to parse_events()
This is an alternative patch to what Jiri sent that instead of changing
all callers to parse_events() for allowing to pass a fake_pmu, provide
another function specifically for that.
From Jiri's patch:
This way it's possible to parse events from PMUs which are not present
in the system. It's available only for testing purposes coming in
following changes, so all the current users set fake_pmu argument as
false.
Based-on-a-patch-by: Jiri Olsa <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[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