From: Wang Xiaoqiang <wangxq10@lzu.edu.cn>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] include/uapi/linux/perf_event.h: update comment about enum perf_hw_id.
Date: Sat, 16 Jan 2016 09:47:00 +0800 [thread overview]
Message-ID: <20160116094700.0df55a90@debian> (raw)
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
reply other threads:[~2016-01-16 2:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160116094700.0df55a90@debian \
--to=wangxq10@lzu.edu.cn \
--cc=acme@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox