aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-12-17 12:21:09 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-12-18 16:15:18 -0300
commitce05539f20b337221d3310baf73b45317dab067c (patch)
tree252646078cb8ae0d81b243a65a62a264c64b4280 /net
parent2c83dfae021306d528b21dceb8d128ca16524c5a (diff)
perf trace: Show NULL when syscall pointer args are 0
Matching strace's output format. The 'format' file for the syscall tracepoints have an indication if the arg is a pointer, with some exceptions like 'mmap' that has its first arg as an 'unsigned long', so use a heuristic using the argument name, i.e. if it contains the 'addr' substring, format it with the pointer formatter. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Luis Cláudio Gonçalves <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions