lib: stackdepot: add support to disable stack depot
[linux-2.6-microblaze.git] / include / linux / perf_event.h
index 9a38f57..fab42cf 100644 (file)
@@ -998,7 +998,7 @@ struct perf_sample_data {
        struct perf_raw_record          *raw;
        struct perf_branch_stack        *br_stack;
        u64                             period;
-       u64                             weight;
+       union perf_sample_weight        weight;
        u64                             txn;
        union  perf_mem_data_src        data_src;
 
@@ -1047,7 +1047,7 @@ static inline void perf_sample_data_init(struct perf_sample_data *data,
        data->raw  = NULL;
        data->br_stack = NULL;
        data->period = period;
-       data->weight = 0;
+       data->weight.full = 0;
        data->data_src.val = PERF_MEM_NA;
        data->txn = 0;
 }