perf hists: Allow for max_stack greater than PERF_MAX_STACK_DEPTH
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 25 Sep 2015 13:15:47 +0000 (16:15 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Sep 2015 20:06:16 +0000 (17:06 -0300)
commit96b40f3c05f36e061fd4dde920b9e9c795a88b69
tree934eae381b04ba7c983948aecd473e348eee9bdd
parent188bb5e2ce112463428994f91291e5df6fc05521
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>
tools/perf/util/hist.c
tools/perf/util/hist.h