perf script: Add scripting operation process_switch()
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 10 Jul 2019 08:58:06 +0000 (11:58 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 10 Jul 2019 15:34:09 +0000 (12:34 -0300)
commit5bf83c29a0ad2e78683c318b607539dbadbf7a3b
tree1a32308d45d0ae3eeead2f4143a9cc6c8877d26f
parent26c11206f433ea507a7541f48cb472b85870577e
perf script: Add scripting operation process_switch()

Add scripting operation process_switch() to process switch events.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190710085810.1650-18-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/util/trace-event.h