]> git.baikalelectronics.ru Git - kernel.git/commit
perf script: Add stat default handlers
authorJiri Olsa <jolsa@kernel.org>
Tue, 5 Jan 2016 21:09:09 +0000 (22:09 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Jan 2016 23:11:15 +0000 (20:11 -0300)
commita8cdd6f0fbebd397a4e7cf766d98bd8d9a8c2162
treed103a5266729921fddf16c77da7dd670a7f86be0
parent78bd3f980f191e65f7f66d81acd2ee535226dc32
perf script: Add stat default handlers

Implement struct scripting_ops::(process_stat|process_stat_interval)
handlers - calling scripting handlers from stat events handlers.

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-6-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/builtin-script.c