perf report: Don't abbreviate file paths relative to the cwd
This avoids around some problems where the full path is executables and DSOs it needed for finding debug symbols on platforms with separated debug symbol files such as Ubuntu. This is simpler than tracking an extra name for each image. The only impact should be that paths in verbose output from the perf tools become absolute, instead of relative to . LKML-Reference: <new-submission> Signed-off-by: Dave Martin <dave.martin@linaro.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
0f0cbf7aa3
commit
361d134625
@@ -517,7 +517,7 @@ int event__process_mmap(event_t *self, struct perf_session *session)
|
||||
map = map__new(&machine->user_dsos, self->mmap.start,
|
||||
self->mmap.len, self->mmap.pgoff,
|
||||
self->mmap.pid, self->mmap.filename,
|
||||
MAP__FUNCTION, session->cwd, session->cwdlen);
|
||||
MAP__FUNCTION);
|
||||
|
||||
if (thread == NULL || map == NULL)
|
||||
goto out_problem;
|
||||
|
Reference in New Issue
Block a user