summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-buildid-list.c
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2010-07-27 11:46:12 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-07-27 11:46:12 -0300
commit88ca895dd4e0e64ebd942adb7925fa60ca5b2a98 (patch)
treef3680bbdcd63e60068fe18ec0c34d8f99e0519fe /tools/perf/builtin-buildid-list.c
parent361d13462585474267a0c41e956f1a1c19a93f17 (diff)
downloadlinux-88ca895dd4e0e64ebd942adb7925fa60ca5b2a98.tar.gz
linux-88ca895dd4e0e64ebd942adb7925fa60ca5b2a98.tar.bz2
linux-88ca895dd4e0e64ebd942adb7925fa60ca5b2a98.zip
perf tools: Remove unneeded code for tracking the cwd in perf sessions
Tidy-up patch to remove some code and struct perf_session data members which are no longer needed due to the previous patch: "perf tools: Don't abbreviate file paths relative to the cwd". 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/builtin-buildid-list.c')
-rw-r--r--tools/perf/builtin-buildid-list.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/builtin-buildid-list.c b/tools/perf/builtin-buildid-list.c
index 99890728409e..44a47e13bd67 100644
--- a/tools/perf/builtin-buildid-list.c
+++ b/tools/perf/builtin-buildid-list.c
@@ -43,10 +43,8 @@ static int __cmd_buildid_list(void)
if (session == NULL)
return -1;
- if (with_hits) {
- symbol_conf.full_paths = true;
+ if (with_hits)
perf_session__process_events(session, &build_id__mark_dso_hit_ops);
- }
perf_session__fprintf_dsos_buildid(session, stdout, with_hits);