perf scripting python: exported-sql-viewer.py: Factor out libxed.py
authorAdrian Hunter <adrian.hunter@intel.com>
Sun, 30 May 2021 19:23:07 +0000 (22:23 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 1 Jun 2021 13:05:08 +0000 (10:05 -0300)
commit2b87386c7a1c0488bf2a27d7f4ac80aa84e22fb5
tree6a23ffefa6e7f5b1b9bdeebfac3d7b0788c09c9e
parent1a329b1c8e8ebf4107823146b5426900ab1145fe
perf scripting python: exported-sql-viewer.py: Factor out libxed.py

Factor out libxed.py so it can be reused.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20210530192308.7382-13-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py
tools/perf/scripts/python/libxed.py [new file with mode: 0644]