diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-05-11 02:13:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-11 02:13:55 -0400 |
commit | 5dcefda0fd87fefa440abc9b9d3f1089229f8911 (patch) | |
tree | f19697dc461b40e277109fbba659d614892bb0d2 /tools/perf/perf.h | |
parent | c4f400e837713f677de94390c57e7dc7567e0286 (diff) | |
parent | 5a5626b1b4bf8467891c9297ffda979db97ed5ec (diff) |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Fixes and improvements for perf/core:
- perf_target: abstraction for --uid, --pid, --tid, --cpu, --all-cpus handling,
eliminating code duplicated in the tools, having constraints that apply to
all of them, from Namhyung Kim
- Fixes for handling fallback to cpu-clock on PPC, from David Ahern
- Fix for processing events with unknown size, from Jiri Olsa
- Compilation fix on 32-bit, from Jiri Olsa
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 89e3355ab173..14f1034f14f9 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h | |||
@@ -207,10 +207,10 @@ extern const char perf_version_string[]; | |||
207 | 207 | ||
208 | void pthread__unblock_sigwinch(void); | 208 | void pthread__unblock_sigwinch(void); |
209 | 209 | ||
210 | #include "util/target.h" | ||
211 | |||
210 | struct perf_record_opts { | 212 | struct perf_record_opts { |
211 | const char *target_pid; | 213 | struct perf_target target; |
212 | const char *target_tid; | ||
213 | uid_t uid; | ||
214 | bool call_graph; | 214 | bool call_graph; |
215 | bool group; | 215 | bool group; |
216 | bool inherit_stat; | 216 | bool inherit_stat; |
@@ -223,7 +223,6 @@ struct perf_record_opts { | |||
223 | bool sample_time; | 223 | bool sample_time; |
224 | bool sample_id_all_missing; | 224 | bool sample_id_all_missing; |
225 | bool exclude_guest_missing; | 225 | bool exclude_guest_missing; |
226 | bool system_wide; | ||
227 | bool period; | 226 | bool period; |
228 | unsigned int freq; | 227 | unsigned int freq; |
229 | unsigned int mmap_pages; | 228 | unsigned int mmap_pages; |
@@ -231,7 +230,6 @@ struct perf_record_opts { | |||
231 | int branch_stack; | 230 | int branch_stack; |
232 | u64 default_interval; | 231 | u64 default_interval; |
233 | u64 user_interval; | 232 | u64 user_interval; |
234 | const char *cpu_list; | ||
235 | }; | 233 | }; |
236 | 234 | ||
237 | #endif | 235 | #endif |