1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/types.h>
8 #include <linux/stddef.h>
9 #include <linux/perf_event.h>
10 #include "util/target.h"
24 bool sample_phys_addr;
33 bool auxtrace_snapshot_mode;
34 bool auxtrace_snapshot_on_exit;
35 bool auxtrace_sample_mode;
36 bool record_namespaces;
37 bool record_switch_events;
40 bool kernel_callchains;
44 bool ignore_missing_thread;
50 unsigned int mmap_pages;
51 unsigned int auxtrace_mmap_pages;
52 unsigned int user_freq;
58 size_t auxtrace_snapshot_size;
59 const char *auxtrace_snapshot_opts;
60 const char *auxtrace_sample_opts;
61 bool sample_transaction;
62 unsigned initial_delay;
69 unsigned int comp_level;
72 extern const char * const *record_usage;
73 extern struct option *record_options;
75 int record__parse_freq(const struct option *opt, const char *str, int unset);
77 #endif // _PERF_RECORD_H