Lines Matching refs:name

40 #	The top level is a command name (comm)
160 def dsoname(name):
161 if name == "[kernel.kallsyms]":
163 return name
545 QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_time)" + ipc_str + ", SUM(branch_count)"
553 " GROUP BY call_path_id, name, short_name"
572 def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, name, dso, count, time, insn_cnt, cyc_cnt, branch_count, parent_item):
580 self.data = [ name, dso, str(count), str(time), PercentToOneDP(time, parent_item.time), str(insn_cnt), insn_pcnt, str(cyc_cnt), cyc_pcnt, ipc, str(branch_count), br_pcnt ]
582 self.data = [ name, dso, str(count), str(time), PercentToOneDP(time, parent_item.time), str(branch_count), PercentToOneDP(branch_count, parent_item.branch_count) ]
779 " AND symbols.name" + match +
830 QueryExec(query, "SELECT calls.id, name, short_name, call_time, return_time - call_time" + ipc_str + ", branch_count"
854 def __init__(self, glb, params, row, comm_id, thread_id, calls_id, name, dso, call_time, time, insn_cnt, cyc_cnt, branch_count, parent_item):
862 self.data = [ name, dso, str(call_time), str(time), PercentToOneDP(time, parent_item.time), str(insn_cnt), insn_pcnt, str(cyc_cnt), cyc_pcnt, ipc, str(branch_count), br_pcnt ]
864 self.data = [ name, dso, str(call_time), str(time), PercentToOneDP(time, parent_item.time), str(branch_count), PercentToOneDP(branch_count, parent_item.branch_count) ]
975 " AND symbols.name" + match +
1174 # ExecComm() gets the comm_id of the command string that was set when the process exec'd i.e. the program name
2539 # Need a unique connection name
3109 sql = ("SELECT samples.id, time, cpu, comm, pid, tid, branch_types.name,"
3111 " ip, symbols.name, sym_offset, dsos.short_name,"
3112 " to_ip, to_symbols.name, to_sym_offset, to_dsos.short_name"
3197 def __init__(self, name = "", where_clause = "", limit = ""):
3198 self.name = name
3236 AddSubWindow(glb.mainwindow.mdi_area, self, report_vars.name + " Branch Events")
3604 vars.name = d.value
3605 if not vars.name:
3606 self.ShowMessage("Report name is required")
3637 items = (lambda g, p: LineEditDataItem(g, "Report name:", "Enter a name to appear in the window title bar", p, "REPORTNAME"),
3644 lambda g, p: SQLTableDataItem(g, "Symbols:", "Only branches with these symbols will be included", "symbols", "name", "symbol_id", "to_symbol_id", p),
3653 QueryExec(query, "SELECT name FROM selected_events WHERE id > 0 ORDER BY id")
4121 QueryExec(query, "SELECT name FROM sqlite_master WHERE type IN ( 'table' , 'view' ) ORDER BY name")
4145 sql = ("SELECT comm, pid, tid, name,"
4180 items = (lambda g, p: LineEditDataItem(g, "Report name:", "Enter a name to appear in the window title bar", p, "REPORTNAME"),
4185 lambda g, p: SQLTableDataItem(g, "Symbols:", "Only calls with these symbols will be included", "symbols", "name", "symbol_id", "", p),
4221 AddSubWindow(glb.mainwindow.mdi_area, self, report_vars.name)
4308 label = str(nr) + " " + sub_window.name
4366 <li>The top level is a command name (comm)</li>
4389 One exception is kcore where the DSO long name is used (refer dsos_view on the Tables menu),
4390 or alternatively, set environment variable PERF_KCORE to the kcore file name.</li>
4571 # Unique name for sub-windows
4573 def NumberedWindowName(name, nr):
4575 name += " <" + str(nr) + ">"
4576 return name
4578 def UniqueSubWindowName(mdi_area, name):
4581 unique_name = NumberedWindowName(name, nr)
4584 if sub_window.name == unique_name:
4593 def AddSubWindow(mdi_area, sub_window, name):
4594 unique_name = UniqueSubWindowName(mdi_area, name)
4600 sub_window.name = unique_name
4983 usage_str = "exported-sql-viewer.py [--pyside-version-1] <database name>\n" \