public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: perf: rapl: Remove useless RAPL_EVENT_DESC interface
@ 2015-11-04  9:43 Huang Rui
  2015-11-12 13:28 ` [tip:perf/urgent] perf/x86/intel/rapl: Remove the unused RAPL_EVENT_DESC() macro tip-bot for Huang Rui
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Rui @ 2015-11-04  9:43 UTC (permalink / raw)
  To: Peter Zijlstra, Borislav Petkov, Ingo Molnar,
	Arnaldo Carvalho de Melo, Stephane Eranian, Andy Lutomirski,
	Thomas Gleixner, Dasaratharaman Chandramouli
  Cc: linux-kernel, x86, Fengguang Wu, Tony Li, Huang Rui

RAPL_EVENT_DESC isn't used till now. So remove this macro at this
patch.

Signed-off-by: Huang Rui <ray.huang@amd.com>
---
 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
index 81431c0..ed446bd 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
@@ -107,12 +107,6 @@ static ssize_t __rapl_##_var##_show(struct kobject *kobj,	\
 static struct kobj_attribute format_attr_##_var =		\
 	__ATTR(_name, 0444, __rapl_##_var##_show, NULL)
 
-#define RAPL_EVENT_DESC(_name, _config)				\
-{								\
-	.attr	= __ATTR(_name, 0444, rapl_event_show, NULL),	\
-	.config	= _config,					\
-}
-
 #define RAPL_CNTR_WIDTH 32 /* 32-bit rapl counters */
 
 #define RAPL_EVENT_ATTR_STR(_name, v, str)				\
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:perf/urgent] perf/x86/intel/rapl: Remove the unused RAPL_EVENT_DESC() macro
  2015-11-04  9:43 [PATCH] x86: perf: rapl: Remove useless RAPL_EVENT_DESC interface Huang Rui
@ 2015-11-12 13:28 ` tip-bot for Huang Rui
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Huang Rui @ 2015-11-12 13:28 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: luto, tglx, peterz, bp, tony.li, eranian, linux-kernel,
	fengguang.wu, mingo, hpa, dasaratharaman.chandramouli, acme,
	ray.huang, torvalds

Commit-ID:  41ac18ebfc429ce3f4d369ef07447d652999a0cd
Gitweb:     http://git.kernel.org/tip/41ac18ebfc429ce3f4d369ef07447d652999a0cd
Author:     Huang Rui <ray.huang@amd.com>
AuthorDate: Wed, 4 Nov 2015 17:43:53 +0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Thu, 12 Nov 2015 09:44:25 +0100

perf/x86/intel/rapl: Remove the unused RAPL_EVENT_DESC() macro

Signed-off-by: Huang Rui <ray.huang@amd.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Li <tony.li@amd.com>
Link: http://lkml.kernel.org/r/1446630233-3166-1-git-send-email-ray.huang@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
index 81431c0..ed446bd 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
@@ -107,12 +107,6 @@ static ssize_t __rapl_##_var##_show(struct kobject *kobj,	\
 static struct kobj_attribute format_attr_##_var =		\
 	__ATTR(_name, 0444, __rapl_##_var##_show, NULL)
 
-#define RAPL_EVENT_DESC(_name, _config)				\
-{								\
-	.attr	= __ATTR(_name, 0444, rapl_event_show, NULL),	\
-	.config	= _config,					\
-}
-
 #define RAPL_CNTR_WIDTH 32 /* 32-bit rapl counters */
 
 #define RAPL_EVENT_ATTR_STR(_name, v, str)				\

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-12 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-04  9:43 [PATCH] x86: perf: rapl: Remove useless RAPL_EVENT_DESC interface Huang Rui
2015-11-12 13:28 ` [tip:perf/urgent] perf/x86/intel/rapl: Remove the unused RAPL_EVENT_DESC() macro tip-bot for Huang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox