Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163779
b: refs/heads/master
c: 1281a49
h: refs/heads/master
i:
  163777: 76eeb9f
  163775: 2bbfa46
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Sep 17, 2009
1 parent 7c918dd commit c8cc0e3
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 270bbbe80d82fad8b698d0b407eb3ad67cc3492b
refs/heads/master: 1281a49b7aa865a1f0d60e2b28410e6234fc686b
5 changes: 4 additions & 1 deletion trunk/tools/perf/util/parse-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,11 @@ parse_single_tracepoint_event(char *sys_name,
int fd;

if (flags) {
if (!strncmp(flags, "record", strlen(flags)))
if (!strncmp(flags, "record", strlen(flags))) {
attr->sample_type |= PERF_SAMPLE_RAW;
attr->sample_type |= PERF_SAMPLE_TIME;
attr->sample_type |= PERF_SAMPLE_CPU;
}
}

snprintf(evt_path, MAXPATHLEN, "%s/%s/%s/id", debugfs_path,
Expand Down

0 comments on commit c8cc0e3

Please sign in to comment.