perf: Optimize the !vmalloc backed buffer
[deliverable/linux.git] / include / linux / perf_event.h
index 7098ebbb3b3a1272e4fbb67342f384aac9cbe7c6..09cd9c1abfda940b1cf477267e8d7db61eae9703 100644 (file)
@@ -588,8 +588,8 @@ struct perf_mmap_data {
        struct rcu_head                 rcu_head;
 #ifdef CONFIG_PERF_USE_VMALLOC
        struct work_struct              work;
+       int                             page_order;     /* allocation order  */
 #endif
-       int                             data_order;     /* allocation order  */
        int                             nr_pages;       /* nr of data pages  */
        int                             writable;       /* are we writable   */
        int                             nr_locked;      /* nr pages mlocked  */
@@ -806,6 +806,9 @@ struct perf_output_handle {
        unsigned long                   head;
        unsigned long                   offset;
        unsigned long                   wakeup;
+       unsigned long                   size;
+       void                            *addr;
+       int                             page;
        int                             nmi;
        int                             sample;
 };
This page took 0.03462 seconds and 5 git commands to generate.