Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188261
b: refs/heads/master
c: 8907fd6
h: refs/heads/master
i:
  188259: 6b5c01b
v: v3
  • Loading branch information
Eric B Munson authored and Ingo Molnar committed Mar 10, 2010
1 parent 331a16d commit 2f0d996
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: accd3cc45a0e1d11090ea66888405987de77bdca
refs/heads/master: 8907fd607b66e36636469a2de9833db643869db8
3 changes: 3 additions & 0 deletions trunk/tools/perf/builtin-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ static void create_counter(int counter, int cpu, pid_t pid)

attr->sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID;

if (nr_counters > 1)
attr->sample_type |= PERF_SAMPLE_ID;

if (freq) {
attr->sample_type |= PERF_SAMPLE_PERIOD;
attr->freq = 1;
Expand Down

0 comments on commit 2f0d996

Please sign in to comment.