perf-trace.txt (5fe9cfbe44b6892e17f803125c4761221b0175c6) perf-trace.txt (9ea42ba4411ac502e83baa9c61bb037d0a7355a0)
1perf-trace(1)
2=============
3
4NAME
5----
6perf-trace - strace inspired tool
7
8SYNOPSIS

--- 49 unchanged lines hidden (view full) ---

58-t::
59--tid=::
60 Record events on existing thread ID (comma separated list).
61
62-u::
63--uid=::
64 Record events in threads owned by uid. Name or number.
65
1perf-trace(1)
2=============
3
4NAME
5----
6perf-trace - strace inspired tool
7
8SYNOPSIS

--- 49 unchanged lines hidden (view full) ---

58-t::
59--tid=::
60 Record events on existing thread ID (comma separated list).
61
62-u::
63--uid=::
64 Record events in threads owned by uid. Name or number.
65
66-G::
67--cgroup::
68 Record events in threads in a cgroup.
69
70 Look for cgroups to set at the /sys/fs/cgroup/perf_event directory, then
71 remove the /sys/fs/cgroup/perf_event/ part and try:
72
73 perf trace -G A -e sched:*switch
74
75 Will set all raw_syscalls:sys_{enter,exit}, pgfault, vfs_getname, etc
76 _and_ sched:sched_switch to the 'A' cgroup, while:
77
78 perf trace -e sched:*switch -G A
79
80 will only set the sched:sched_switch event to the 'A' cgroup, all the
81 other events (raw_syscalls:sys_{enter,exit}, etc are left "without"
82 a cgroup (on the root cgroup, sys wide, etc).
83
84 Multiple cgroups:
85
86 perf trace -G A -e sched:*switch -G B
87
88 the syscall ones go to the 'A' cgroup, the sched:sched_switch goes
89 to the 'B' cgroup.
90
66--filter-pids=::
67 Filter out events for these pids and for 'trace' itself (comma separated list).
68
69-v::
70--verbose=::
71 Verbosity level.
72
73--no-inherit::

--- 142 unchanged lines hidden ---
91--filter-pids=::
92 Filter out events for these pids and for 'trace' itself (comma separated list).
93
94-v::
95--verbose=::
96 Verbosity level.
97
98--no-inherit::

--- 142 unchanged lines hidden ---