Skip to contentSkip to conversation

perf_event_open.2: Add missing variable name

PATCH In review Namhyung Kim 2 participants 2 messages Feb 7, 2023 – Feb 8, 2023 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf_event_open.2: Add missing variable name

---
 man2/perf_event_open.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/perf_event_open.2 +1 -1
index df515f7d1..dd90ab007 100644
@@ -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 */
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
#1 lore raw

Hi!

Quoted 1 line · Namhyung Kim

Patch applied. Thanks,

Alex

Quoted 17 lines
---
 man2/perf_event_open.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/perf_event_open.2 +1 -1
index df515f7d1..dd90ab007 100644
@@ -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 */
Signature · 2 lines
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5