Linux Perf
export-to-sqlite.py File Reference

Go to the source code of this file.

Namespaces

 export-to-sqlite
 

Functions

def export-to-sqlite.usage ()
 
def export-to-sqlite.do_query (q, s)
 
def export-to-sqlite.do_query_ (q)
 
def export-to-sqlite.emit_to_hex (x)
 
def export-to-sqlite.trace_begin ()
 
def export-to-sqlite.trace_end ()
 
def export-to-sqlite.trace_unhandled (event_name, context, event_fields_dict)
 
def export-to-sqlite.sched__sched_switch (x)
 
def export-to-sqlite.bind_exec (q, n, x)
 
def export-to-sqlite.evsel_table (x)
 
def export-to-sqlite.machine_table (x)
 
def export-to-sqlite.thread_table (x)
 
def export-to-sqlite.comm_table (x)
 
def export-to-sqlite.comm_thread_table (x)
 
def export-to-sqlite.dso_table (x)
 
def export-to-sqlite.symbol_table (x)
 
def export-to-sqlite.branch_type_table (x)
 
def export-to-sqlite.sample_table (x)
 
def export-to-sqlite.call_path_table (x)
 
def export-to-sqlite.call_return_table (x)
 

Variables

bool export-to-sqlite.perf_db_export_mode = True
 
bool export-to-sqlite.perf_db_export_calls = False
 
bool export-to-sqlite.perf_db_export_callchains = False
 
 export-to-sqlite.dbname = sys.argv[1]
 
 export-to-sqlite.columns = sys.argv[2]
 
tuple export-to-sqlite.branches = (columns == "branches")
 
bool export-to-sqlite.db_exists = False
 
 export-to-sqlite.f = open(dbname)
 
 export-to-sqlite.db = QSqlDatabase.addDatabase('QSQLITE')
 
 export-to-sqlite.query = QSqlQuery(db)
 
bool export-to-sqlite.sqlite_has_printf = False
 
 export-to-sqlite.evsel_query = QSqlQuery(db)
 
 export-to-sqlite.machine_query = QSqlQuery(db)
 
 export-to-sqlite.thread_query = QSqlQuery(db)
 
 export-to-sqlite.comm_query = QSqlQuery(db)
 
 export-to-sqlite.comm_thread_query = QSqlQuery(db)
 
 export-to-sqlite.dso_query = QSqlQuery(db)
 
 export-to-sqlite.symbol_query = QSqlQuery(db)
 
 export-to-sqlite.branch_type_query = QSqlQuery(db)
 
 export-to-sqlite.sample_query = QSqlQuery(db)
 
 export-to-sqlite.call_path_query = QSqlQuery(db)
 
 export-to-sqlite.call_query = QSqlQuery(db)
 
int export-to-sqlite.unhandled_count = 0