Linux Perf
stackcollapse Namespace Reference

Functions

def process_event (param_dict)
 
def trace_end ()
 

Variables

list option_list
 
 parser = OptionParser(option_list=option_list)
 
 opts
 
 args
 
 lines = defaultdict(lambda: 0)
 

Function Documentation

◆ process_event()

def stackcollapse.process_event (   param_dict)

Definition at line 69 of file stackcollapse.py.

Here is the call graph for this function:

◆ trace_end()

def stackcollapse.trace_end ( )

Definition at line 122 of file stackcollapse.py.

Variable Documentation

◆ args

stackcollapse.args

Definition at line 56 of file stackcollapse.py.

◆ lines

stackcollapse.lines = defaultdict(lambda: 0)

Definition at line 67 of file stackcollapse.py.

◆ option_list

list stackcollapse.option_list
Initial value:
1 = [
2  # formatting options for the bottom entry of the stack
3  make_option("--include-tid", dest="include_tid",
4  action="store_true", default=False,
5  help="include thread id in stack"),
6  make_option("--include-pid", dest="include_pid",
7  action="store_true", default=False,
8  help="include process id in stack"),
9  make_option("--no-comm", dest="include_comm",
10  action="store_false", default=True,
11  help="do not separate stacks according to comm"),
12  make_option("--tidy-java", dest="tidy_java",
13  action="store_true", default=False,
14  help="beautify Java signatures"),
15  make_option("--kernel", dest="annotate_kernel",
16  action="store_true", default=False,
17  help="annotate kernel functions with _[k]")
18 ]

Definition at line 36 of file stackcollapse.py.

◆ opts

stackcollapse.opts

Definition at line 56 of file stackcollapse.py.

◆ parser

stackcollapse.parser = OptionParser(option_list=option_list)

Definition at line 55 of file stackcollapse.py.