Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155721
b: refs/heads/master
c: 573402d
h: refs/heads/master
i:
  155719: 1307239
v: v3
  • Loading branch information
Peter Zijlstra committed Jul 22, 2009
1 parent 5d689f5 commit 3a645b6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9f73a3dd27e03411f18a58c0814d51392d2b17a
refs/heads/master: 573402db02746179b3f95f83a11a787501f52d0a
23 changes: 21 additions & 2 deletions trunk/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2897,8 +2897,11 @@ void perf_counter_fork(struct task_struct *task)
.event = {
.header = {
.type = PERF_EVENT_FORK,
.misc = 0,
.size = sizeof(fork_event.event),
},
/* .pid */
/* .ppid */
},
};

Expand Down Expand Up @@ -3008,8 +3011,16 @@ void perf_counter_comm(struct task_struct *task)

comm_event = (struct perf_comm_event){
.task = task,
/* .comm */
/* .comm_size */
.event = {
.header = { .type = PERF_EVENT_COMM, },
.header = {
.type = PERF_EVENT_COMM,
.misc = 0,
/* .size */
},
/* .pid */
/* .tid */
},
};

Expand Down Expand Up @@ -3160,8 +3171,16 @@ void __perf_counter_mmap(struct vm_area_struct *vma)

mmap_event = (struct perf_mmap_event){
.vma = vma,
/* .file_name */
/* .file_size */
.event = {
.header = { .type = PERF_EVENT_MMAP, },
.header = {
.type = PERF_EVENT_MMAP,
.misc = 0,
/* .size */
},
/* .pid */
/* .tid */
.start = vma->vm_start,
.len = vma->vm_end - vma->vm_start,
.pgoff = vma->vm_pgoff,
Expand Down

0 comments on commit 3a645b6

Please sign in to comment.