perf scripts python: exported-sql-viewer.py: Add tree level
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 3 May 2019 12:08:25 +0000 (15:08 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 15 May 2019 19:36:47 +0000 (16:36 -0300)
commit3ac641f4acd66c109b74f108f8a61f2905702b10
tree42676185b6308246f296554417e92a8a440a316d
parent4b2084537e5f3b58337bce894391fb63bf3b0e28
perf scripts python: exported-sql-viewer.py: Add tree level

As preparation for adding support for copying to clipboard, keep track of
what level each item is in tree items.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190503120828.25326-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py