diff options
| author | Andi Kleen <[email protected]> | 2015-12-11 16:12:24 -0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-12-14 12:11:22 -0300 |
| commit | bd0f889536f80630c1c4a414f2de90744d2c87d0 (patch) | |
| tree | 28c212dd96811729c10a68c6c216d0cdf8b94aa0 /scripts/gdb/vmlinux-gdb.py | |
| parent | abd828688407eb86044f1bc9e5133c55d7597596 (diff) | |
perf evsel: Disable branch flags/cycles for --callgraph lbr
[The kernel patch needed for this is in tip now (b16a5b52eb9 perf/x86:
Add option to disable ...) So this user tools patch to make use of it
should be merged now]
Automatically disable collecting branch flags and cycles with
--call-graph lbr. This allows avoiding a bunch of extra MSR
reads in the PMI on Skylake.
When the kernel doesn't support the new flags they are automatically
cleared in the fallback code.
v2: Switch to use branch_sample_type instead of sample_type.
Adjust description.
Fix the fallback logic.
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions