Lines Matching refs:name

40 #	The top level is a command name (comm)
159 def dsoname(name):
160 if name == "[kernel.kallsyms]":
162 return name
544 QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_time)" + ipc_str + ", SUM(branch_count)"
552 " GROUP BY call_path_id, name, short_name"
571 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):
579 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 ]
581 self.data = [ name, dso, str(count), str(time), PercentToOneDP(time, parent_item.time), str(branch_count), PercentToOneDP(branch_count, parent_item.branch_count) ]
778 " AND symbols.name" + match +
829 QueryExec(query, "SELECT calls.id, name, short_name, call_time, return_time - call_time" + ipc_str + ", branch_count"
853 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):
861 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 ]
863 self.data = [ name, dso, str(call_time), str(time), PercentToOneDP(time, parent_item.time), str(branch_count), PercentToOneDP(branch_count, parent_item.branch_count) ]
974 " AND symbols.name" + match +
1173 # ExecComm() gets the comm_id of the command string that was set when the process exec'd i.e. the program name
2538 # Need a unique connection name
3108 sql = ("SELECT samples.id, time, cpu, comm, pid, tid, branch_types.name,"
3110 " ip, symbols.name, sym_offset, dsos.short_name,"
3111 " to_ip, to_symbols.name, to_sym_offset, to_dsos.short_name"
3196 def __init__(self, name = "", where_clause = "", limit = ""):
3197 self.name = name
3235 AddSubWindow(glb.mainwindow.mdi_area, self, report_vars.name + " Branch Events")
3603 vars.name = d.value
3604 if not vars.name:
3605 self.ShowMessage("Report name is required")
3636 items = (lambda g, p: LineEditDataItem(g, "Report name:", "Enter a name to appear in the window title bar", p, "REPORTNAME"),
3643 lambda g, p: SQLTableDataItem(g, "Symbols:", "Only branches with these symbols will be included", "symbols", "name", "symbol_id", "to_symbol_id", p),
3652 QueryExec(query, "SELECT name FROM selected_events WHERE id > 0 ORDER BY id")
4120 QueryExec(query, "SELECT name FROM sqlite_master WHERE type IN ( 'table' , 'view' ) ORDER BY name")
4144 sql = ("SELECT comm, pid, tid, name,"
4179 items = (lambda g, p: LineEditDataItem(g, "Report name:", "Enter a name to appear in the window title bar", p, "REPORTNAME"),
4184 lambda g, p: SQLTableDataItem(g, "Symbols:", "Only calls with these symbols will be included", "symbols", "name", "symbol_id", "", p),
4220 AddSubWindow(glb.mainwindow.mdi_area, self, report_vars.name)
4307 label = str(nr) + " " + sub_window.name
4365 <li>The top level is a command name (comm)</li>
4388 One exception is kcore where the DSO long name is used (refer dsos_view on the Tables menu),
4389 or alternatively, set environment variable PERF_KCORE to the kcore file name.</li>
4570 # Unique name for sub-windows
4572 def NumberedWindowName(name, nr):
4574 name += " <" + str(nr) + ">"
4575 return name
4577 def UniqueSubWindowName(mdi_area, name):
4580 unique_name = NumberedWindowName(name, nr)
4583 if sub_window.name == unique_name:
4592 def AddSubWindow(mdi_area, sub_window, name):
4593 unique_name = UniqueSubWindowName(mdi_area, name)
4599 sub_window.name = unique_name
5070 usage_str = "exported-sql-viewer.py [--pyside-version-1] <database name>\n" \