diff options
author | Kan Liang <[email protected]> | 2018-08-08 00:12:06 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-10-02 10:14:30 +0200 |
commit | ba12d20edc5caf9835006d8f3efd4ed18465c75b (patch) | |
tree | b3b16c6b6feb47c286c4c5eae4779158aae4392b /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | a4c9f26533eb547c8123e9a5f77517f61d19d2c2 (diff) |
perf/x86/intel: Factor out common code of PMI handler
The Arch Perfmon v4 PMI handler is substantially different than
the older PMI handler. Instead of adding more and more ifs cleanly
fork the new handler into a new function, with the main common
code factored out into a common function.
Fix complaint from checkpatch.pl by removing "false" from "static bool
warned".
No functional change.
Based-on-code-from: Andi Kleen <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions