diff options
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 914c895510f7..ea804f5a8cc2 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h | |||
@@ -185,4 +185,27 @@ extern const char perf_version_string[]; | |||
185 | 185 | ||
186 | void pthread__unblock_sigwinch(void); | 186 | void pthread__unblock_sigwinch(void); |
187 | 187 | ||
188 | struct perf_record_opts { | ||
189 | pid_t target_pid; | ||
190 | pid_t target_tid; | ||
191 | bool call_graph; | ||
192 | bool group; | ||
193 | bool inherit_stat; | ||
194 | bool no_delay; | ||
195 | bool no_inherit; | ||
196 | bool no_samples; | ||
197 | bool pipe_output; | ||
198 | bool raw_samples; | ||
199 | bool sample_address; | ||
200 | bool sample_time; | ||
201 | bool sample_id_all_avail; | ||
202 | bool system_wide; | ||
203 | unsigned int freq; | ||
204 | unsigned int mmap_pages; | ||
205 | unsigned int user_freq; | ||
206 | u64 default_interval; | ||
207 | u64 user_interval; | ||
208 | const char *cpu_list; | ||
209 | }; | ||
210 | |||
188 | #endif | 211 | #endif |