diff options
author | Adrian Hunter <[email protected]> | 2022-07-11 12:31:51 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-07-20 11:07:53 -0300 |
commit | 15fe03621d9df90c23de7a2099b692e2da344cde (patch) | |
tree | 718f5c3560d6fe9ec65111ba37914238506ef956 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 57190e38b00d25abba9631b8db53740fce4baced (diff) |
perf buildid-cache: Add guestmount'd files to the build ID cache
When the guestmount option is used, a guest machine's file system mount
point is recorded in machine->root_dir.
perf already iterates guest machines when adding files to the build ID
cache, but does not take machine->root_dir into account.
Use machine->root_dir to find files for guest build IDs, and add them to
the build ID cache using the "proper" name i.e. relative to the guest root
directory not the host root directory.
Signed-off-by: Adrian Hunter <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions