diff options
author | Jiri Olsa <[email protected]> | 2019-03-05 16:25:34 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-03-06 18:19:45 -0300 |
commit | 5b61adb16599be04346e7e943c1b5113b57485ad (patch) | |
tree | 4a54f8bb4e074245c142f459bbb5a9414ecdcd56 /scripts/gen_compile_commands.py | |
parent | 90a86bde97ba050cb3c9ccb215252ee2d2d705fa (diff) |
perf evsel: Probe for precise_ip with simple attr
Currently we probe for precise_ip with user specified perf_event_attr,
which might fail because of unsupported kernel features, which would get
disabled during the open time anyway.
Switching the probe to take place on simple hw cycles, so the following
record sets proper precise_ip:
# perf record -e cycles:P ls
# perf evlist -v
cycles:P: size: 112, ... precise_ip: 3, ...
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jonas Rabenstein <[email protected]>
Cc: Nageswara R Sastry <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions