diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-11-10 22:51:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-11 01:30:19 -0500 |
commit | 3e13ab2d83b6867a20663c73c184f29c2fde1558 (patch) | |
tree | d0c67b84db78934e5a8c634261d0df017f0038fb /tools/perf/util/header.h | |
parent | 4778d2e4f410c6eea32f594cb2be9590bcb28b84 (diff) |
perf tools: Use perf_header__set/has_feat whenever possible
And drop the alternate checks/sets using set_bit or other kind
of helpers.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
LKML-Reference: <1257911467-28276-5-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/header.h')
-rw-r--r-- | tools/perf/util/header.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/header.h b/tools/perf/util/header.h index 77186c9e605b..a22d70b07571 100644 --- a/tools/perf/util/header.h +++ b/tools/perf/util/header.h | |||
@@ -49,7 +49,6 @@ void perf_header_attr__add_id(struct perf_header_attr *self, u64 id); | |||
49 | u64 perf_header__sample_type(struct perf_header *header); | 49 | u64 perf_header__sample_type(struct perf_header *header); |
50 | struct perf_event_attr * | 50 | struct perf_event_attr * |
51 | perf_header__find_attr(u64 id, struct perf_header *header); | 51 | perf_header__find_attr(u64 id, struct perf_header *header); |
52 | void perf_header__feat_trace_info(struct perf_header *header); | ||
53 | void perf_header__set_feat(struct perf_header *self, int feat); | 52 | void perf_header__set_feat(struct perf_header *self, int feat); |
54 | bool perf_header__has_feat(const struct perf_header *self, int feat); | 53 | bool perf_header__has_feat(const struct perf_header *self, int feat); |
55 | 54 | ||