summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2019-07-10 11:58:02 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-10 12:23:55 -0300
commitecc8c9984dae9812a10936cb9c74957b68075e07 (patch)
treeaa2d73eecbad13a23c08392a4904cbebeb4563fe /tools/perf/scripts/python/export-to-postgresql.py
parent4650c7bed79582c74452d284e45d5b76987c0ef3 (diff)
downloadlwn-ecc8c9984dae9812a10936cb9c74957b68075e07.tar.gz
lwn-ecc8c9984dae9812a10936cb9c74957b68075e07.zip
perf scripts python: export-to-sqlite.py: Add has_calls column to comms table
Now that a thread's current comm is exported, it shows up in the call graph and call tree even if it has no calls. That can happen because the calls are recorded against the main thread's initial comm. Add a table column to make it easy for the exported-sql-viewer.py script to select only comms with calls. Committer notes: Running the export-to-sqlite.py worked without warnings and using the exported-sql-viewer.py worked as before. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/20190710085810.1650-14-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions