projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24787af
)
perf tools: Display perf_event_attr::namespaces debug info
author
Jiri Olsa
<
[email protected]
>
Sun, 7 Jan 2018 16:03:46 +0000
(17:03 +0100)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 8 Jan 2018 15:15:19 +0000
(12:15 -0300)
Display namespaces bit in -vv debug display:
$ perf record -vv --namespaces ...
...
perf_event_attr:
size 112
...
namespaces 1
Signed-off-by: Jiri Olsa <
[email protected]
>
Cc: Alexander Shishkin <
[email protected]
>
Cc: Andi Kleen <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/evsel.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/evsel.c
b/tools/perf/util/evsel.c
index a4d256ea0dc423b527eae3d252170e01c2910921..c435b2444153efac9032c95d21417fb563712b65 100644
(file)
--- a/
tools/perf/util/evsel.c
+++ b/
tools/perf/util/evsel.c
@@
-1577,6
+1577,7
@@
int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
PRINT_ATTRf(use_clockid, p_unsigned);
PRINT_ATTRf(context_switch, p_unsigned);
PRINT_ATTRf(write_backward, p_unsigned);
+ PRINT_ATTRf(namespaces, p_unsigned);
PRINT_ATTRn("{ wakeup_events, wakeup_watermark }", wakeup_events, p_unsigned);
PRINT_ATTRf(bp_type, p_unsigned);