Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx> --- man2/perf_event_open.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index df515f7d1..dd90ab007 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -2336,7 +2336,7 @@ struct { char data[size]; /* if PERF_SAMPLE_STACK_USER */ u64 dyn_size; /* if PERF_SAMPLE_STACK_USER && size != 0 */ - union perf_sample_weight; + union perf_sample_weight weight; /* if PERF_SAMPLE_WEIGHT */ /* || PERF_SAMPLE_WEIGHT_STRUCT */ u64 data_src; /* if PERF_SAMPLE_DATA_SRC */ -- 2.39.1.519.gcb327c4b5f-goog