perf session: Move full_paths config to symbol_conf
Now perf_event_ops has just that, event handlers. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1261957026-15580-8-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
31d337c4ee
commit
f7d87444e6
@@ -306,7 +306,7 @@ int perf_session__process_events(struct perf_session *self,
|
||||
|
||||
head = self->header.data_offset;
|
||||
|
||||
if (!ops->full_paths) {
|
||||
if (!symbol_conf.full_paths) {
|
||||
char bf[PATH_MAX];
|
||||
|
||||
if (getcwd(bf, sizeof(bf)) == NULL) {
|
||||
|
Reference in New Issue
Block a user