]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace: Allow specifying index offset in strarrays
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Oct 2013 19:00:21 +0000 (16:00 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 Oct 2013 15:17:59 +0000 (12:17 -0300)
commit5ae9adcca2b8253bcc01788242832bfbc64ac95e
treea2fa111925de27561e3cf8ac22b33c143644591d
parent7ad54ce3985120e094d3fa1f1fd28d8062cdcf55
perf trace: Allow specifying index offset in strarrays

So that the index passed doesn't have to start at zero, being
decremented from an offset specified when declaring the strarray before
being used as the real array index.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-k1ce6uqyt4qar9edrj3mevod@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c