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 record_namespaces;
36 bool record_switch_events;
39 bool kernel_callchains;
43 bool ignore_missing_thread;
48 unsigned int mmap_pages;
49 unsigned int auxtrace_mmap_pages;
50 unsigned int user_freq;
56 size_t auxtrace_snapshot_size;
57 const char *auxtrace_snapshot_opts;
58 bool sample_transaction;
59 unsigned initial_delay;
66 unsigned int comp_level;
69 extern const char * const *record_usage;
70 extern struct option *record_options;
72 int record__parse_freq(const struct option *opt, const char *str, int unset);
74 #endif // _PERF_RECORD_H