perf scripts python: exported-sql-viewer.py: Fix table find when table re-ordered
authorAdrian Hunter <adrian.hunter@intel.com>
Sun, 4 Nov 2018 15:12:38 +0000 (17:12 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Nov 2018 17:53:00 +0000 (14:53 -0300)
commit35fa1cee21e34f43db928d022610707d5a234faf
tree2434606adabb03a0385166262eec536e651ee028
parent65b24292e8f34df22a16bf7c47823325ac247572
perf scripts python: exported-sql-viewer.py: Fix table find when table re-ordered

Table rows can be re-ordered by selecting a column to sort by. After
re-ordering, the "find" operation was highlighting the wrong row, fix
it.

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