diff options
author | Adrian Hunter | 2015-09-25 15:15:47 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2015-09-28 22:06:16 +0200 |
commit | 96b40f3c05f36e061fd4dde920b9e9c795a88b69 (patch) | |
tree | 934eae381b04ba7c983948aecd473e348eee9bdd /tools/perf/util/hist.h | |
parent | perf report: Make max_stack value allow for synthesized callchains (diff) | |
download | kernel-qcow2-linux-96b40f3c05f36e061fd4dde920b9e9c795a88b69.tar.gz kernel-qcow2-linux-96b40f3c05f36e061fd4dde920b9e9c795a88b69.tar.xz kernel-qcow2-linux-96b40f3c05f36e061fd4dde920b9e9c795a88b69.zip |
perf hists: Allow for max_stack greater than PERF_MAX_STACK_DEPTH
Use the max_stack value instead of PERF_MAX_STACK_DEPTH so that
arbitrary-sized callchains can be supported.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1443186956-18718-17-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 4d6aa1dbdaee..8c20a8f6b214 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h @@ -90,6 +90,7 @@ struct hist_entry_iter { int curr; bool hide_unresolved; + int max_stack; struct perf_evsel *evsel; struct perf_sample *sample; |