* [PATCH] include/uapi/linux/perf_event.h: update comment about enum perf_hw_id.
@ 2016-01-16 1:47 Wang Xiaoqiang
0 siblings, 0 replies; only message in thread
From: Wang Xiaoqiang @ 2016-01-16 1:47 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo; +Cc: Peter Zijlstra, Ingo Molnar, linux-kernel
Hi, Arnaldo,
This patch just update the comment of the enum perf_hw_id. And the patch
is as follows.
thanks,
Wang Xiaoqiang
>From 00176ce957269070fd108fd9fbb72c8a0be275fc Mon Sep 17 00:00:00 2001
From: Wang Xiaoqiang <wangxq10@lzu.edu.cn>
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'.
Signed-off-by: Wang Xiaoqiang <wangxq10@lzu.edu.cn>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-16 2:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-16 1:47 [PATCH] include/uapi/linux/perf_event.h: update comment about enum perf_hw_id Wang Xiaoqiang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox