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:
d0528b5
)
perf: Missing field in PERF_RECORD_SAMPLE documentation
author
Vince Weaver
<
[email protected]
>
Tue, 8 Jan 2013 19:44:25 +0000
(14:44 -0500)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Thu, 24 Jan 2013 19:40:19 +0000
(16:40 -0300)
While trying to write a perf_event/mmap test for my perf_event
test-suite I came across a missing field description in the
PERF_RECORD_SAMPLE documentation in perf_event.h
Signed-off-by: Vince Weaver <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/alpine.DEB.2.02.1301081439300.24507@vincent-weaver-1.um.maine.edu
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
include/uapi/linux/perf_event.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/perf_event.h
b/include/uapi/linux/perf_event.h
index 4f63c05d27c91d04569971ea4a2c4849203c36a9..9fa9c622a7f45ab6032aefd74001930b4d7ddb07 100644
(file)
--- a/
include/uapi/linux/perf_event.h
+++ b/
include/uapi/linux/perf_event.h
@@
-579,7
+579,8
@@
enum perf_event_type {
* { u32 size;
* char data[size];}&& PERF_SAMPLE_RAW
*
- * { u64 from, to, flags } lbr[nr];} && PERF_SAMPLE_BRANCH_STACK
+ * { u64 nr;
+ * { u64 from, to, flags } lbr[nr];} && PERF_SAMPLE_BRANCH_STACK
*
* { u64 abi; # enum perf_sample_regs_abi
* u64 regs[weight(mask)]; } && PERF_SAMPLE_REGS_USER