diff options
| author | Athira Rajeev <[email protected]> | 2021-05-25 09:51:42 -0400 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-06-17 00:09:11 +1000 |
| commit | 45677c9aebe926192e59475b35a1ff35ff2d4217 (patch) | |
| tree | 75428507712cce05e66d2d089e4350dc20ecbf5f /tools/perf/scripts/python/flamegraph.py | |
| parent | ab3aab292cb2f417f63b8f4887c1dd01c2a831cd (diff) | |
selftests/powerpc: Fix "no_handler" EBB selftest
The "no_handler_test" in ebb selftests attempts to read the PMU
registers twice via helper function "dump_ebb_state". First dump is
just before closing of event and the second invocation is done after
closing of the event. The original intention of second
dump_ebb_state was to dump the state of registers at the end of
the test when the counters are frozen. But this will be achieved
with the first call itself since sample period is set to low value
and PMU will be frozen by then. Hence patch removes the
dump which was done before closing of the event.
Reported-by: Shirisha Ganta <[email protected]>
Signed-off-by: Athira Rajeev <[email protected]>
Tested-by: Nageswara R Sastry <[email protected] <mailto:[email protected]>>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions