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:
66e274f
)
perf tools: Add some comments to the event definitions
author
Peter Zijlstra
<
[email protected]
>
Thu, 13 Aug 2009 09:47:55 +0000
(11:47 +0200)
committer
Ingo Molnar
<
[email protected]
>
Sat, 15 Aug 2009 10:00:09 +0000
(12:00 +0200)
Just to make it clear that these are _not_ generic event
structures but do rely on the counter configuration.
Signed-off-by: Peter Zijlstra <
[email protected]
>
Cc: Corey J Ashford <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: stephane eranian <
[email protected]
>
LKML-Reference: <
20090813103655
.
334194326
@chello.nl>
Signed-off-by: Ingo Molnar <
[email protected]
>
tools/perf/util/event.h
patch
|
blob
|
history
diff --git
a/tools/perf/util/event.h
b/tools/perf/util/event.h
index d26dc887ce52c5a65c1345906d62ffdaa7260103..fa7c50b654e144ae4cc44c407891b798937f43a2 100644
(file)
--- a/
tools/perf/util/event.h
+++ b/
tools/perf/util/event.h
@@
-4,6
+4,9
@@
#include "util.h"
#include <linux/list.h>
+/*
+ * PERF_SAMPLE_IP | PERF_SAMPLE_TID | *
+ */
struct ip_event {
struct perf_event_header header;
u64 ip;
@@
-38,6
+41,9
@@
struct lost_event {
u64 lost;
};
+/*
+ * PERF_FORMAT_ENABLED | PERF_FORMAT_RUNNING | PERF_FORMAT_ID
+ */
struct read_event {
struct perf_event_header header;
u32 pid,tid;