diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-09-25 13:15:49 (GMT) |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-09-28 20:08:48 (GMT) |
commit | 03cd1fed2b8730271d3a8dbabd87989abddc33c4 (patch) | |
tree | 598fa85343b188b3a72de6e6a8d09b9411d31d54 /tools/perf/util | |
parent | 96b40f3c05f36e061fd4dde920b9e9c795a88b69 (diff) | |
download | linux-03cd1fed2b8730271d3a8dbabd87989abddc33c4.tar.xz |
perf script: Add a setting for maximum stack depth
Add a setting for maximum stack depth in preparation for allowing for
synthesized callchains.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1443186956-18718-19-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 15c84ca..84a02eae 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c @@ -1800,7 +1800,7 @@ void perf_evsel__print_ip(struct perf_evsel *evsel, struct perf_sample *sample, if (thread__resolve_callchain(al->thread, evsel, sample, NULL, NULL, - PERF_MAX_STACK_DEPTH) != 0) { + stack_depth) != 0) { if (verbose) error("Failed to resolve callchain. Skipping\n"); return; |