perf db-export: Factor out db_export__threads()
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 10 Jul 2019 08:58:07 +0000 (11:58 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 10 Jul 2019 15:35:18 +0000 (12:35 -0300)
commitb3694e6c0a05383891546c6e3cdef8659d50b653
treed2f15b524b9f988ba984a01606fe9695120c8392
parent5bf83c29a0ad2e78683c318b607539dbadbf7a3b
perf db-export: Factor out db_export__threads()

In preparation for exporting switch events, factor out
db_export__threads().

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