diff options
author | Yunlong Song <[email protected]> | 2015-03-23 11:50:05 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-03-24 12:06:55 -0300 |
commit | 228f14f2cbf481e0ec0bd0c7f947383cfa2d5167 (patch) | |
tree | 406a40a88e85d78b6a77f989beb767ba59210947 /net/unix/sysctl_net_unix.c | |
parent | 2c7da8c590ad719796f46c875a096eb45ef971c7 (diff) |
perf tools: Remove (null) value of "Sort order" for perf mem report
When '--sort' is not set, 'perf mem report" will print a null pointer as
the output value of sort order, so fix it.
Example:
Before this patch:
$ perf mem report
# To display the perf.data header info, please use --header/--header-only options.
#
# Samples: 18 of event 'cpu/mem-loads/pp'
# Total weight : 188
# Sort order : (null)
#
...
After this patch:
$ perf mem report
# To display the perf.data header info, please use --header/--header-only options.
#
# Samples: 18 of event 'cpu/mem-loads/pp'
# Total weight : 188
# Sort order : local_weight,mem,sym,dso,symbol_daddr,dso_daddr,snoop,tlb,locked
#
...
Signed-off-by: Yunlong Song <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions