perf script: Pass perf_script into process_event
authorJiri Olsa <jolsa@redhat.com>
Thu, 26 Nov 2015 17:55:21 +0000 (18:55 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Nov 2015 19:06:16 +0000 (16:06 -0300)
commit809e9423d7bc72e50d94d8267bab010a007a6137
treebf0448096c0a99be760e00ffaf59dd1c4b298fe0
parentb2be5451f660e0ee230969cc24121d9e210a91de
perf script: Pass perf_script into process_event

Passing perf_script struct into process_event function, so we could
process configuration data for event printing.

It will be used in following patch to get event name string width.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20151126175521.GA18979@krava.brq.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c