aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.c
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2010-07-27 11:40:02 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-07-27 10:39:04 -0400
commit361d13462585474267a0c41e956f1a1c19a93f17 (patch)
tree75321c401c73da41ff4023547dbf17cede7ab294 /tools/perf/util/event.c
parent0f0cbf7aa3d3460a3eb201a772326739a0c0210a (diff)
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>
Diffstat (limited to 'tools/perf/util/event.c')
-rw-r--r--tools/perf/util/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index 121339f4360d..5b81bb29a07a 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -517,7 +517,7 @@ int event__process_mmap(event_t *self, struct perf_session *session)
517 map = map__new(&machine->user_dsos, self->mmap.start, 517 map = map__new(&machine->user_dsos, self->mmap.start,
518 self->mmap.len, self->mmap.pgoff, 518 self->mmap.len, self->mmap.pgoff,
519 self->mmap.pid, self->mmap.filename, 519 self->mmap.pid, self->mmap.filename,
520 MAP__FUNCTION, session->cwd, session->cwdlen); 520 MAP__FUNCTION);
521 521
522 if (thread == NULL || map == NULL) 522 if (thread == NULL || map == NULL)
523 goto out_problem; 523 goto out_problem;