-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 158254 b: refs/heads/master c: 1fe2c10 h: refs/heads/master v: v3
- Loading branch information
Frederic Weisbecker
committed
Aug 12, 2009
1 parent
e9e9e48
commit 98677cd
Showing
7 changed files
with
57 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: cd84c2ac6d6425dd4d1b80a2231e534b9b03df18 | ||
refs/heads/master: 1fe2c1066ce6a30bda7b27785ee3d9b8e62ffbbd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#include "../perf.h" | ||
|
||
struct ip_event { | ||
struct perf_event_header header; | ||
u64 ip; | ||
u32 pid, tid; | ||
unsigned char __more_data[]; | ||
}; | ||
|
||
struct mmap_event { | ||
struct perf_event_header header; | ||
u32 pid, tid; | ||
u64 start; | ||
u64 len; | ||
u64 pgoff; | ||
char filename[PATH_MAX]; | ||
}; | ||
|
||
struct comm_event { | ||
struct perf_event_header header; | ||
u32 pid, tid; | ||
char comm[16]; | ||
}; | ||
|
||
struct fork_event { | ||
struct perf_event_header header; | ||
u32 pid, ppid; | ||
u32 tid, ptid; | ||
}; | ||
|
||
struct lost_event { | ||
struct perf_event_header header; | ||
u64 id; | ||
u64 lost; | ||
}; | ||
|
||
struct read_event { | ||
struct perf_event_header header; | ||
u32 pid,tid; | ||
u64 value; | ||
u64 time_enabled; | ||
u64 time_running; | ||
u64 id; | ||
}; | ||
|
||
typedef union event_union { | ||
struct perf_event_header header; | ||
struct ip_event ip; | ||
struct mmap_event mmap; | ||
struct comm_event comm; | ||
struct fork_event fork; | ||
struct lost_event lost; | ||
struct read_event read; | ||
} event_t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters