perf callchain: Allow for max_stack greater than PERF_MAX_STACK_DEPTH
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 25 Sep 2015 13:15:48 +0000 (16:15 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 1 Oct 2015 12:56:06 +0000 (09:56 -0300)
commit0edd453368c6b9cdb756bde2b6675bb0d5d0eb0a
tree969b68d6961f78c7e41a6293bd108b57f0d80f56
parent208e7607459477432d3df52c32d4b961a96d4a94
perf callchain: Allow for max_stack greater than PERF_MAX_STACK_DEPTH

Adjust the validation to allow for max_stack greater than
PERF_MAX_STACK_DEPTH.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1443186956-18718-18-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c