summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r--tools/perf/perf.h62
1 files changed, 0 insertions, 62 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index dc0a7a237887..d9e6b8b957b6 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -35,63 +35,6 @@ extern const char perf_version_string[];
35 35
36void pthread__unblock_sigwinch(void); 36void pthread__unblock_sigwinch(void);
37 37
38#include "util/target.h"
39
40struct record_opts {
41 struct target target;
42 bool group;
43 bool inherit_stat;
44 bool no_buffering;
45 bool no_inherit;
46 bool no_inherit_set;
47 bool no_samples;
48 bool raw_samples;
49 bool sample_address;
50 bool sample_phys_addr;
51 bool sample_weight;
52 bool sample_time;
53 bool sample_time_set;
54 bool sample_cpu;
55 bool period;
56 bool period_set;
57 bool running_time;
58 bool full_auxtrace;
59 bool auxtrace_snapshot_mode;
60 bool auxtrace_snapshot_on_exit;
61 bool record_namespaces;
62 bool record_switch_events;
63 bool all_kernel;
64 bool all_user;
65 bool kernel_callchains;
66 bool user_callchains;
67 bool tail_synthesize;
68 bool overwrite;
69 bool ignore_missing_thread;
70 bool strict_freq;
71 bool sample_id;
72 bool no_bpf_event;
73 unsigned int freq;
74 unsigned int mmap_pages;
75 unsigned int auxtrace_mmap_pages;
76 unsigned int user_freq;
77 u64 branch_stack;
78 u64 sample_intr_regs;
79 u64 sample_user_regs;
80 u64 default_interval;
81 u64 user_interval;
82 size_t auxtrace_snapshot_size;
83 const char *auxtrace_snapshot_opts;
84 bool sample_transaction;
85 unsigned initial_delay;
86 bool use_clockid;
87 clockid_t clockid;
88 u64 clockid_res_ns;
89 int nr_cblocks;
90 int affinity;
91 int mmap_flush;
92 unsigned int comp_level;
93};
94
95enum perf_affinity { 38enum perf_affinity {
96 PERF_AFFINITY_SYS = 0, 39 PERF_AFFINITY_SYS = 0,
97 PERF_AFFINITY_NODE, 40 PERF_AFFINITY_NODE,
@@ -99,10 +42,5 @@ enum perf_affinity {
99 PERF_AFFINITY_MAX 42 PERF_AFFINITY_MAX
100}; 43};
101 44
102struct option;
103extern const char * const *record_usage;
104extern struct option *record_options;
105extern int version_verbose; 45extern int version_verbose;
106
107int record__parse_freq(const struct option *opt, const char *str, int unset);
108#endif 46#endif