linux/tools/perf/trace/beauty
Arnaldo Carvalho de Melo 15bed2742a perf trace beauty clone: Suppress unused args according to 'flags' arg
The 'parent_tidptr', 'child_tidptr' and 'tls' arguments to the 'clone'
syscall are only used when certain flags are set in 'flags', suppress
them when those aren't there.

E.g:

   9886.919 (0.236 ms): fetchmail/19298 clone(flags: CHILD_CLEARTID|CHILD_SETTID|0x11, child_stack: 0, child_tidptr: 0x7fe43f468590) = 19608 (fetchmail)
  12876.052 (0.249 ms): qemu-system-x8/21238 clone(flags: VM|FS|FILES|SIGHAND|THREAD|SYSVSEM|SETTLS|PARENT_SETTID|CHILD_CLEARTID, child_stack: 0x7f48117fc770, parent_tidptr: 0x7f48117ff9d0, child_tidptr: 0x7f48117ff9d0, tls: 0x7f48117ff700) = 19611 (qemu-system-x86)
  12876.555 (0.048 ms): worker/19611 clone(flags: VM|FS|FILES|SIGHAND|THREAD|SYSVSEM|SETTLS|PARENT_SETTID|CHILD_CLEARTID, child_stack: 0x7f480f7f8770, parent_tidptr: 0x7f480f7fb9d0, child_tidptr: 0x7f480f7fb9d0, tls: 0x7f480f7fb700) = 19612 (worker)
  16575.240 (0.469 ms): fetchmail/19298 clone(flags: CHILD_CLEARTID|CHILD_SETTID|0x11, child_stack: 0, child_tidptr: 0x7fe43f468590) = 19613 (fetchmail)
  20797.270 (0.335 ms): fetchmail/19298 clone(flags: CHILD_CLEARTID|CHILD_SETTID|0x11, child_stack: 0, child_tidptr: 0x7fe43f468590) = 19614 (fetchmail)
  21228.585 (0.501 ms): vim/19519 clone(flags: CHILD_CLEARTID|CHILD_SETTID|0x11, child_stack: 0, child_tidptr: 0x7fbad6ac27d0) = 19615 (vim)
  21232.193 (0.137 ms): bash/19615 clone(flags: CHILD_CLEARTID|CHILD_SETTID|0x11, child_stack: 0, child_tidptr: 0x7fad8bff49d0) = 19616 (bash)

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-0um93djul9knf239gwa5mpcb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-07-20 11:03:10 -03:00
..
beauty.h perf trace beauty clone: Beautify syscall arguments 2017-07-20 11:03:04 -03:00
Build perf trace beauty clone: Beautify syscall arguments 2017-07-20 11:03:04 -03:00
clone.c perf trace beauty clone: Suppress unused args according to 'flags' arg 2017-07-20 11:03:10 -03:00
eventfd.c perf trace beauty eventfd: No need to include eventfd.h 2016-06-30 18:27:43 -03:00
fcntl.c perf trace beauty fcntl: Beautify the 'arg' for DUPFD 2017-07-18 23:14:26 -03:00
flock.c perf trace beauty flock: Add more conditional defines 2016-07-12 00:00:39 -03:00
futex_op.c perf trace beauty futex_op: Add missing defines for older systems 2016-07-12 15:20:37 -03:00
mmap.c perf trace beauty mmap: Ignore 'fd' and 'offset' args for MAP_ANONYMOUS 2017-07-20 09:55:51 -03:00
mode_t.c perf trace: Beautify mode_t arguments 2016-04-08 09:58:13 -03:00
msg_flags.c perf trace beauty msg_flags: Remove MSG_TRYHARD 2016-07-12 00:00:39 -03:00
open_flags.c perf trace beauty: Give syscall return beautifier more context 2017-07-18 23:14:02 -03:00
perf_event_open.c perf trace: Move perf_flags beautifier to tools/perf/trace/beauty/ 2016-04-26 13:14:59 -03:00
pid.c perf trace beauty: Export the pid beautifier for use in more places 2017-07-18 23:14:04 -03:00
sched_policy.c perf trace beauty sched_policy: Define SCHED_RESET_ON_FORK for older systems 2016-06-30 18:27:43 -03:00
seccomp.c perf trace beauty seccomp: Remove seccomp.h include 2016-07-12 15:20:38 -03:00
signum.c perf tools: Add signal.h to places using its definitions 2017-04-20 13:22:43 -03:00
socket_type.c perf trace: Move socket_type beautifier to tools/perf/trace/beauty/ 2016-04-14 13:53:10 -03:00
statx.c perf trace: Beautify statx syscall 'flag' and 'mask' arguments 2017-03-31 14:42:31 -03:00
waitid_options.c