perf db-export: Export switch events
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 10 Jul 2019 08:58:08 +0000 (11:58 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 10 Jul 2019 15:35:38 +0000 (12:35 -0300)
commitabde8722d9b0a317935506d9824e26f1aef6c24a
tree2c009c39826ad2ff8a046802e6e8fed82bd9e930
parentb3694e6c0a05383891546c6e3cdef8659d50b653
perf db-export: Export switch events

Export details of switch events including the threads and their current
comms.

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