perf bpf: Save bpf_prog_info information as headers to perf.data
[sfrench/cifs-2.6.git] / tools / perf / perf.h
index 388c6dd128b8ebd8620eb5a5920b6994f1fdcc12..c59743def8d36f539d7c196befa216a4b6c55a66 100644 (file)
@@ -66,6 +66,7 @@ struct record_opts {
        bool         ignore_missing_thread;
        bool         strict_freq;
        bool         sample_id;
+       bool         no_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;