]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - tools/perf/perf.h
perf record: Add clockid parameter
[karo-tx-linux.git] / tools / perf / perf.h
index 1dabb855349978de385f45690499d83f86e10580..e14bb637255cc351ac40850a148eba1461d55cd0 100644 (file)
@@ -29,7 +29,7 @@ static inline unsigned long long rdclock(void)
        return ts.tv_sec * 1000000000ULL + ts.tv_nsec;
 }
 
-#define MAX_NR_CPUS                    256
+#define MAX_NR_CPUS                    1024
 
 extern const char *input_name;
 extern bool perf_host, perf_guest;
@@ -53,6 +53,7 @@ struct record_opts {
        bool         sample_time;
        bool         period;
        bool         sample_intr_regs;
+       bool         running_time;
        unsigned int freq;
        unsigned int mmap_pages;
        unsigned int user_freq;
@@ -61,6 +62,8 @@ struct record_opts {
        u64          user_interval;
        bool         sample_transaction;
        unsigned     initial_delay;
+       bool         use_clockid;
+       clockid_t    clockid;
 };
 
 struct option;