Merge branch 'linus' into perf/core, to pick up fixes
[platform/kernel/linux-starfive.git] / tools / perf / perf.h
index 388c6dd..b120e54 100644 (file)
@@ -66,6 +66,7 @@ struct record_opts {
        bool         ignore_missing_thread;
        bool         strict_freq;
        bool         sample_id;
+       bool         bpf_event;
        unsigned int freq;
        unsigned int mmap_pages;
        unsigned int auxtrace_mmap_pages;
@@ -83,6 +84,14 @@ struct record_opts {
        clockid_t    clockid;
        u64          clockid_res_ns;
        int          nr_cblocks;
+       int          affinity;
+};
+
+enum perf_affinity {
+       PERF_AFFINITY_SYS = 0,
+       PERF_AFFINITY_NODE,
+       PERF_AFFINITY_CPU,
+       PERF_AFFINITY_MAX
 };
 
 struct option;