Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320448
b: refs/heads/master
c: 0983cc0
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker authored and Arnaldo Carvalho de Melo committed Jul 25, 2012
1 parent 41aadcf commit 5be29ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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: 8760db726e2afcd1a78e2ff58965c6b35a5826cb
refs/heads/master: 0983cc0dbca45250cbb5984bec7c303ac265b8e5
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/evlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ int perf_evlist__add_tracepoints(struct perf_evlist *evlist,
attrs[i].type = PERF_TYPE_TRACEPOINT;
attrs[i].config = err;
attrs[i].sample_type = (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME |
PERF_SAMPLE_CPU);
PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD);
attrs[i].sample_period = 1;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/tools/perf/util/parse-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ static int add_tracepoint(struct list_head **list, int *idx,
attr.sample_type |= PERF_SAMPLE_RAW;
attr.sample_type |= PERF_SAMPLE_TIME;
attr.sample_type |= PERF_SAMPLE_CPU;
attr.sample_type |= PERF_SAMPLE_PERIOD;
attr.sample_period = 1;

snprintf(name, MAX_NAME_LEN, "%s:%s", sys_name, evt_name);
Expand Down

0 comments on commit 5be29ce

Please sign in to comment.