Lines Matching defs:self
41 def __init__(self, output_path: Union[Path, str]): argument
45 def close(self): argument
48 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter: argument
56 def close_tag(self, tag: Optional[str] = None): argument
61 def add(self, text: str) -> HtmlWriter: argument
65 def add_file(self, file_path: Union[Path, str]) -> HtmlWriter: argument
84 def __init__(self, name: str): argument
90 def get_process(self, pid: int) -> ProcessScope: argument
96 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
106 def threads(self) -> Iterator[ThreadScope]: argument
112 def libraries(self) -> Iterator[LibScope]: argument
121 def __init__(self, pid: int): argument
127 def get_thread(self, tid: int, thread_name: str) -> ThreadScope: argument
136 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
146 def merge_by_thread_name(self, process: ProcessScope): argument
164 def __init__(self, tid: int): argument
174 self, event_count: int, callstack: List[Tuple[int, int, int]], argument
207 def update_subtree_event_count(self): argument
211 def limit_percents(self, min_func_limit: float, min_callchain_percent: float, argument
226 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
237 def merge(self, thread: ThreadScope): argument
249 def sort_call_graph_by_function_name(self, get_func_name: Callable[[int], str]) -> None: argument
256 def __init__(self, lib_id: int): argument
261 def get_function(self, func_id: int) -> FunctionScope: argument
267 def gen_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
275 def merge(self, lib: LibScope): argument
287 def __init__(self, func_id: int): argument
296 def build_addr_hit_map(self, addr: int, event_count: int, subtree_event_count: int): argument
306 def build_line_hit_map(self, source_file_id: int, line: int, event_count: int, argument
318 def gen_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
340 def merge(self, function: FunctionScope): argument
366 def __init__(self, func_id: int): argument
373 def get_child(self, func_id: int) -> CallNode: argument
379 def update_subtree_event_count(self): argument
385 def cut_edge(self, min_limit: float, hit_func_ids: Set[int]): argument
397 def gen_sample_info(self) -> Dict[str, Any]: argument
405 def merge(self, node: CallNode): argument
415 def sort_by_function_name(self, get_func_name: Callable[[int], str]) -> None: argument
436 def __init__(self): argument
440 def get_lib_id(self, lib_name: str) -> Optional[int]: argument
443 def add_lib(self, lib_name: str, build_id: str) -> int: argument
450 def get_lib(self, lib_id: int) -> LibInfo: argument
457 def __init__(self, lib_id: int, func_name: str, func_id: int, start_addr: int, addr_len: int): argument
470 def __init__(self): argument
474 def get_func_id(self, lib_id: int, symbol: SymbolStruct) -> int: argument
485 def get_func_name(self, func_id: int) -> str: argument
488 def trim_functions(self, left_func_ids: Set[int]): argument
500 def __init__(self, file_id: int, abstract_path: str): argument
507 def request_lines(self, start_line: int, end_line: int): argument
510 def add_source_code(self, real_path: str): argument
525 def __init__(self): argument
528 def get_source_file(self, file_path: str) -> SourceFile: argument
535 def load_source_code(self, source_dirs: List[str]): argument
624 self, binary_cache_path: Optional[str], argument
641 def load_record_file(self, record_file: str, report_lib_options: ReportLibOptions): argument
691 def aggregate_by_thread_name(self): argument
704 def limit_percents(self, min_func_percent: float, min_callchain_percent: float): argument
724 def sort_call_graph_by_function_name(self) -> None: argument
730 def _get_event(self, event_name: str) -> EventScope: argument
735 def add_source_code(self, source_dirs: List[str], filter_lib: Callable[[str], bool], jobs: int): argument
804 def add_disassembly(self, filter_lib: Callable[[str], bool], argument
846 def split_disassembly_jobs(self, functions: List[Function], argument
863 def _disassemble_functions(self, objdump: Objdump, dso_info, argument
868 def gen_record_info(self) -> Dict[str, Any]: argument
897 def _gen_process_names(self) -> Dict[int, str]: argument
904 def _gen_thread_names(self) -> Dict[int, str]: argument
912 def _gen_lib_list(self) -> List[str]: argument
915 def _gen_function_map(self) -> Dict[int, Any]: argument
934 def _gen_sample_info(self) -> List[Dict[str, Any]]: argument
938 def _gen_source_files(self) -> List[Dict[str, Any]]: argument
972 def __init__(self, html_path: Union[Path, str]): argument
994 def write_content_div(self): argument
997 def write_record_data(self, record_data: Dict[str, Any]): argument
1002 def write_script(self): argument
1005 def finish(self): argument