perf script: Remove default_scripting_ops
authorJiri Olsa <jolsa@kernel.org>
Thu, 26 Nov 2015 13:55:23 +0000 (14:55 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Nov 2015 16:33:00 +0000 (13:33 -0300)
commit2aaecfc51bc65532152e141df3268fda06cae029
tree660c9989dc1782471bffdd08783723bdc4b8fbe0
parent0356218a68551f051998f4fb5074a1eed7a346fe
perf script: Remove default_scripting_ops

The default script handler (the one that displays samples on screen) is
implemented scripting_ops instance with process_event callback.

This way we can't pass any script config into display function, because
we don't want perl or python handlers to be depended on perf script
internals.

Removing the default_scripting_ops and calling process event function
directly. This way it's possible to pass perf_script struct and process
configuration data in following commit.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: 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/1448546125-29245-1-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c