diff options
Diffstat (limited to 'tools/perf/util/session.c')
-rw-r--r-- | tools/perf/util/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index bceaa09f55a1..ce3a6c8abe76 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c @@ -108,7 +108,7 @@ struct symbol **perf_session__resolve_callchain(struct perf_session *self, struct symbol **syms = NULL; unsigned int i; - if (self->use_callchain) { + if (symbol_conf.use_callchain) { syms = calloc(chain->nr, sizeof(*syms)); if (!syms) { fprintf(stderr, "Can't allocate memory for symbols\n"); @@ -140,7 +140,7 @@ struct symbol **perf_session__resolve_callchain(struct perf_session *self, if (sort__has_parent && !*parent && symbol__match_parent_regex(al.sym)) *parent = al.sym; - if (!self->use_callchain) + if (!symbol_conf.use_callchain) break; syms[i] = al.sym; } |