]> Git Repo - linux.git/blobdiff - tools/perf/scripts/python/export-to-postgresql.py
Merge tag 'riscv/for-v5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv...
[linux.git] / tools / perf / scripts / python / export-to-postgresql.py
index 4447f0d7c754727f8a100caee6a0e703e33f27fb..92713d93e95647235acee8998641f021020f3b19 100644 (file)
@@ -898,11 +898,11 @@ def trace_end():
        if is_table_empty("ptwrite"):
                drop("ptwrite")
        if is_table_empty("mwait") and is_table_empty("pwre") and is_table_empty("exstop") and is_table_empty("pwrx"):
+               do_query(query, 'DROP VIEW power_events_view');
                drop("mwait")
                drop("pwre")
                drop("exstop")
                drop("pwrx")
-               do_query(query, 'DROP VIEW power_events_view');
                if is_table_empty("cbr"):
                        drop("cbr")
 
This page took 0.03276 seconds and 4 git commands to generate.