xref: /linux/tools/perf/Documentation/itrace.txt (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1		i	synthesize instructions events
2		y	synthesize cycles events
3		b	synthesize branches events (branch misses for Arm SPE)
4		c	synthesize branches events (calls only)
5		r	synthesize branches events (returns only)
6		x	synthesize transactions events
7		w	synthesize ptwrite events
8		p	synthesize power events (incl. PSB events for Intel PT)
9		o	synthesize other events recorded due to the use
10			of aux-output (refer to perf record)
11		I	synthesize interrupt or similar (asynchronous) events
12			(e.g. Intel PT Event Trace)
13		e	synthesize error events
14		d	create a debug log
15		f	synthesize first level cache events
16		m	synthesize last level cache events
17		M	synthesize memory events
18		t	synthesize TLB events
19		a	synthesize remote access events
20		g	synthesize a call chain (use with i or x)
21		G	synthesize a call chain on existing event records
22		l	synthesize last branch entries (use with i or x)
23		L	synthesize last branch entries on existing event records
24		s       skip initial number of events
25		q	quicker (less detailed) decoding
26		A	approximate IPC
27		Z	prefer to ignore timestamps (so-called "timeless" decoding)
28		T	use the timestamp trace as kernel time
29
30	The default is all events i.e. the same as --itrace=iybxwpe,
31	except for perf script where it is --itrace=ce
32
33	In addition, the period (default 100000, except for perf script where it is 1)
34	for instructions events can be specified in units of:
35
36		i	instructions
37		t	ticks
38		ms	milliseconds
39		us	microseconds
40		ns	nanoseconds (default)
41
42	Also the call chain size (default 16, max. 1024) for instructions or
43	transactions events can be specified.
44
45	Also the number of last branch entries (default 64, max. 1024) for
46	instructions or transactions events can be specified.
47
48	Similar to options g and l, size may also be specified for options G and L.
49	On x86, note that G and L work poorly when data has been recorded with
50	large PEBS. Refer linkperf:perf-intel-pt[1] man page for details.
51
52	It is also possible to skip events generated (instructions, branches, transactions,
53	ptwrite, power) at the beginning. This is useful to ignore initialization code.
54
55	--itrace=i0nss1000000
56
57	skips the first million instructions.
58
59	The 'e' option may be followed by flags which affect what errors will or
60	will not be reported. Each flag must be preceded by either '+' or '-'.
61	The flags are:
62		o	overflow
63		l	trace data lost
64
65	If supported, the 'd' option may be followed by flags which affect what
66	debug messages will or will not be logged. Each flag must be preceded
67	by either '+' or '-'. The flags are:
68		a	all perf events
69		e	output only on errors (size configurable - see linkperf:perf-config[1])
70		o	output to stdout
71
72	If supported, the 'q' option may be repeated to increase the effect.
73