Skip to contentSkip to conversation

include/uapi/linux/perf_event.h: update comment about enum perf_hw_id.

PATCH New Wang Xiaoqiang 1 participant 1 message Jan 16, 2016 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/uapi/linux/perf_event.h: update comment about enum perf_hw_id.

Hi, Arnaldo,

This patch just update the comment of the enum perf_hw_id. And the patch
is as follows.

thanks,
Wang Xiaoqiang

Quoted 1 line

From 00176ce957269070fd108fd9fbb72c8a0be275fc Mon Sep 17 00:00:00 2001

From: Wang Xiaoqiang <[email protected]>
Date: Sat, 16 Jan 2016 09:31:05 +0800
Subject: [PATCH] include/uapi/linux/perf_event.h: update comment about enum perf_hw_id.

Now we use the 'config' field in perf_event_attr to represent the detail event, not a sub bit-field 'event_id' of 'config'.

---
 include/uapi/linux/perf_event.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/perf_event.h +1 -1
index 1afe962..6a85984 100644
@@ -38,7 +38,7 @@ enum perf_type_id {
 
 /*
  * Generalized performance event event_id types, used by the
- * attr.event_id parameter of the sys_perf_event_open()
+ * attr.config parameter of the sys_perf_event_open()
  * syscall:
  */
 enum perf_hw_id {
Signature · 1 line
2.1.4