]> Git Repo - linux.git/blobdiff - tools/perf/scripts/python/export-to-sqlite.py
Merge tag 'for-linus-20190715' of git://git.kernel.dk/linux-block
[linux.git] / tools / perf / scripts / python / export-to-sqlite.py
index 3222a83f4184144db422e248583890b79182259f..021326c46285d6b7936822b76d66fefde2cf8ef2 100644 (file)
@@ -608,11 +608,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.032369 seconds and 4 git commands to generate.