perf script: Add process_stat/process_stat_interval scripting interface
authorJiri Olsa <jolsa@kernel.org>
Tue, 5 Jan 2016 21:09:08 +0000 (22:09 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Jan 2016 23:11:15 +0000 (20:11 -0300)
commit8058a30ce174060a3c8156dc87b4d4ae39e8281b
treeac51cf6ffa7c5b20f1d1628255a8522fb8254160
parent91a2c3d54fd4b5be4e25acc1d8c1cc9a28319774
perf script: Add process_stat/process_stat_interval scripting interface

Python and perl scripting code will define those callbacks and get stat
data.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Kan Liang <kan.liang@intel.com>
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/1452028152-26762-5-git-send-email-jolsa@kernel.org
[ Rename 'time' parameters to 'tstamp', to fix the build in older distros ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/trace-event.h