diff options
author | Adrian Hunter <[email protected]> | 2020-05-12 15:19:16 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-05-28 10:03:28 -0300 |
commit | 61f82e3fb697a8e85f22fdec786528af73dc36d1 (patch) | |
tree | 0e5646576abf29979bcddb4492cf6812940c9369 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0bdf31811be08f93a4bea015d6666df4455c5180 (diff) |
perf kcore_copy: Fix module map when there are no modules loaded
In the absence of any modules, no "modules" map is created, but there
are other executable pages to map, due to eBPF JIT, kprobe or ftrace.
Map them by recognizing that the first "module" symbol is not
necessarily from a module, and adjust the map accordingly.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt (VMware) <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions