diff options
| author | Adrian Hunter <[email protected]> | 2019-07-08 05:52:31 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-09 13:13:27 +0000 |
| commit | d8d051df9f906232715282cc0570c94273b197bc (patch) | |
| tree | 7f1a54f17b592e8c522066837649d9286e6d84f0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | perf hists browser: Fix potential NULL pointer dereference found by the smatc... (diff) | |
| download | kernel-d8d051df9f906232715282cc0570c94273b197bc.tar.gz kernel-d8d051df9f906232715282cc0570c94273b197bc.zip | |
perf scripts python: export-to-postgresql.py: Fix DROP VIEW power_events_view
PostgreSQL can error if power_events_view is not dropped before its
dependent tables e.g.
Exception: Query failed: ERROR: cannot drop table mwait because other
objects depend on it
DETAIL: view power_events_view depends on table mwait
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Fixes: aba44287a224 ("perf scripts python: export-to-postgresql.py: Export Intel PT power and ptwrite events")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
