diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-16 11:16:25 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-17 10:23:33 -0300 |
commit | 0d3dcc0ef13d9d78132d7d6ae068c17ed858e65e (patch) | |
tree | 77b07d043c01f16deac75c86b60f7dfc6e80deff /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | bd3dda9ab0fbdb8a91a2e869d93a0c9692b8444f (diff) |
perf callchains: Ask for PERF_RECORD_MMAP for data mmaps for DWARF unwinding
When we use a global DWARF setting as in:
perf record --call-graph dwarf
According to 5c0cf22477ea ("perf record: Store data mmaps for dwarf unwind") we need
to set up some extra perf_event_attr bits.
But when we instead do a per event dwarf setting:
perf record -e cycles/call-graph=dwarf/
This was not being done, make them equivalent.
This didn't produce any output changes in my tests while fixing up loose
ends in the per-event settings, I found it just by comparing the
perf_event_attr fields trying to find an explanation for those problems.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Hendrick Brueckner <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Noel Grandin <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions