aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/db-export.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2019-07-10 11:57:57 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-10 12:13:08 -0300
commit8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50 (patch)
tree77201f995c7aa5ead1b17017f71c7d8621f30534 /tools/perf/util/db-export.c
parentperf db-export: Fix a white space issue in db_export__sample() (diff)
downloadlinux-dev-8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50.tar.xz
linux-dev-8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50.zip
perf db-export: Export comm details
In preparation for exporting the current comm for a thread, export comm thread id, start time and exec flag. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/20190710085810.1650-9-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/db-export.c')
-rw-r--r--tools/perf/util/db-export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c
index 2c3a4ad68428..b0504d3eb130 100644
--- a/tools/perf/util/db-export.c
+++ b/tools/perf/util/db-export.c
@@ -95,7 +95,7 @@ int db_export__exec_comm(struct db_export *dbe, struct comm *comm,
comm->db_id = ++dbe->comm_last_db_id;
if (dbe->export_comm) {
- err = dbe->export_comm(dbe, comm);
+ err = dbe->export_comm(dbe, comm, main_thread);
if (err)
return err;
}