[PATCH] include/uapi/linux/perf_event.h: update comment about enum

From: Wang Xiaoqiang
Date: Fri Jan 15 2016 - 20:31:05 EST


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

Signed-off-by: Wang Xiaoqiang <wangxq10@xxxxxxxxxx>
---
include/uapi/linux/perf_event.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h
index 1afe962..6a85984 100644
--- a/include/uapi/linux/perf_event.h
+++ b/include/uapi/linux/perf_event.h
@@ -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 {
--
2.1.4