Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148653
b: refs/heads/master
c: 081fad8
h: refs/heads/master
i:
  148651: 3679a51
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jun 12, 2009
1 parent ba6693f commit 1309343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: f1a3c979059b2033d0b1cc4f9ee5c90bf92b5f94
refs/heads/master: 081fad86178ec0f64f32f1bd04cf4aad22714fb9
6 changes: 1 addition & 5 deletions trunk/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -3570,12 +3570,8 @@ perf_counter_alloc(struct perf_counter_attr *attr,
if (attr->inherit && (attr->sample_type & PERF_SAMPLE_GROUP))
goto done;

if (attr->type == PERF_TYPE_RAW) {
pmu = hw_perf_counter_init(counter);
goto done;
}

switch (attr->type) {
case PERF_TYPE_RAW:
case PERF_TYPE_HARDWARE:
case PERF_TYPE_HW_CACHE:
pmu = hw_perf_counter_init(counter);
Expand Down

0 comments on commit 1309343

Please sign in to comment.