Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304963
b: refs/heads/master
c: 5e1c81d
h: refs/heads/master
i:
  304961: 16a09c8
  304959: 5ad6f8b
v: v3
  • Loading branch information
David Ahern authored and Arnaldo Carvalho de Melo committed May 18, 2012
1 parent c00fb01 commit b250fda
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 16ee6576e25b83806d26eb771138249fcfb5eddc
refs/heads/master: 5e1c81d98a5621007824b49dde556fead5ff9c6c
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/evsel.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ void perf_evsel__config(struct perf_evsel *evsel, struct perf_record_opts *opts,
struct perf_event_attr *attr = &evsel->attr;
int track = !evsel->idx; /* only the first counter needs these */

attr->disabled = 1;
attr->sample_id_all = opts->sample_id_all_missing ? 0 : 1;
attr->inherit = !opts->no_inherit;
attr->read_format = PERF_FORMAT_TOTAL_TIME_ENABLED |
Expand Down Expand Up @@ -138,7 +139,6 @@ void perf_evsel__config(struct perf_evsel *evsel, struct perf_record_opts *opts,

if (perf_target__none(&opts->target) &&
(!opts->group || evsel == first)) {
attr->disabled = 1;
attr->enable_on_exec = 1;
}
}
Expand Down

0 comments on commit b250fda

Please sign in to comment.