All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH tip] perf/x86: nhm_events_attrs and snb_events_attrs can be static
       [not found]   ` <CABPqkBR4VCOpBH25yQOnhkOs6c52xEnNe=P4qifDXzr7WBERxw@mail.gmail.com>
@ 2013-01-28 23:46     ` Fengguang Wu
  2013-01-29  0:31       ` Stephane Eranian
  2013-01-29  9:42       ` [tip:perf/x86] perf/x86: Mark nhm_events_attrsas static tip-bot for Fengguang Wu
  0 siblings, 2 replies; 3+ messages in thread
From: Fengguang Wu @ 2013-01-28 23:46 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Stephane Eranian, LKML

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 arch/x86/kernel/cpu/perf_event_intel.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next.orig/arch/x86/kernel/cpu/perf_event_intel.c	2013-01-29 07:42:16.238595053 +0800
+++ linux-next/arch/x86/kernel/cpu/perf_event_intel.c	2013-01-29 07:43:47.678597226 +0800
@@ -139,12 +139,12 @@ static struct extra_reg intel_snb_extra_
 EVENT_ATTR_STR(mem-loads, mem_ld_nhm, "event=0x0b,umask=0x10,ldlat=3");
 EVENT_ATTR_STR(mem-loads, mem_ld_snb, "event=0xcd,umask=0x1,ldlat=3");
 
-struct attribute *nhm_events_attrs[] = {
+static struct attribute *nhm_events_attrs[] = {
 	EVENT_PTR(mem_ld_nhm),
 	NULL,
 };
 
-struct attribute *snb_events_attrs[] = {
+static struct attribute *snb_events_attrs[] = {
 	EVENT_PTR(mem_ld_snb),
 	NULL,
 };

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

* Re: [PATCH tip] perf/x86: nhm_events_attrs and snb_events_attrs can be static
  2013-01-28 23:46     ` [PATCH tip] perf/x86: nhm_events_attrs and snb_events_attrs can be static Fengguang Wu
@ 2013-01-29  0:31       ` Stephane Eranian
  2013-01-29  9:42       ` [tip:perf/x86] perf/x86: Mark nhm_events_attrsas static tip-bot for Fengguang Wu
  1 sibling, 0 replies; 3+ messages in thread
From: Stephane Eranian @ 2013-01-29  0:31 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: Ingo Molnar, LKML

On Tue, Jan 29, 2013 at 12:46 AM, Fengguang Wu <fengguang.wu@intel.com> wrote:
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Acked-by: Stephane Eranian <eranian@google.com>

> ---
>  arch/x86/kernel/cpu/perf_event_intel.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- linux-next.orig/arch/x86/kernel/cpu/perf_event_intel.c      2013-01-29 07:42:16.238595053 +0800
> +++ linux-next/arch/x86/kernel/cpu/perf_event_intel.c   2013-01-29 07:43:47.678597226 +0800
> @@ -139,12 +139,12 @@ static struct extra_reg intel_snb_extra_
>  EVENT_ATTR_STR(mem-loads, mem_ld_nhm, "event=0x0b,umask=0x10,ldlat=3");
>  EVENT_ATTR_STR(mem-loads, mem_ld_snb, "event=0xcd,umask=0x1,ldlat=3");
>
> -struct attribute *nhm_events_attrs[] = {
> +static struct attribute *nhm_events_attrs[] = {
>         EVENT_PTR(mem_ld_nhm),
>         NULL,
>  };
>
> -struct attribute *snb_events_attrs[] = {
> +static struct attribute *snb_events_attrs[] = {
>         EVENT_PTR(mem_ld_snb),
>         NULL,
>  };

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

* [tip:perf/x86] perf/x86: Mark nhm_events_attrsas static
  2013-01-28 23:46     ` [PATCH tip] perf/x86: nhm_events_attrs and snb_events_attrs can be static Fengguang Wu
  2013-01-29  0:31       ` Stephane Eranian
@ 2013-01-29  9:42       ` tip-bot for Fengguang Wu
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Fengguang Wu @ 2013-01-29  9:42 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, eranian, hpa, mingo, tglx, fengguang.wu

Commit-ID:  a4a607086d86d1315c4e2d9496bbe502e645bdd1
Gitweb:     http://git.kernel.org/tip/a4a607086d86d1315c4e2d9496bbe502e645bdd1
Author:     Fengguang Wu <fengguang.wu@intel.com>
AuthorDate: Tue, 29 Jan 2013 07:46:20 +0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 29 Jan 2013 08:51:46 +0100

perf/x86: Mark nhm_events_attrsas static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20130128234620.GA8524@localhost
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/kernel/cpu/perf_event_intel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 9d0d036..bb910bd 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -140,12 +140,12 @@ EVENT_ATTR_STR(mem-loads, mem_ld_nhm, "event=0x0b,umask=0x10,ldlat=3");
 EVENT_ATTR_STR(mem-loads, mem_ld_snb, "event=0xcd,umask=0x1,ldlat=3");
 EVENT_ATTR_STR(mem-stores, mem_st_snb, "event=0xcd,umask=0x2");
 
-struct attribute *nhm_events_attrs[] = {
+static struct attribute *nhm_events_attrs[] = {
 	EVENT_PTR(mem_ld_nhm),
 	NULL,
 };
 
-struct attribute *snb_events_attrs[] = {
+static struct attribute *snb_events_attrs[] = {
 	EVENT_PTR(mem_ld_snb),
 	EVENT_PTR(mem_st_snb),
 	NULL,

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

end of thread, other threads:[~2013-01-29  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <510441ca.jKKGS3DOYyOC3gnk%fengguang.wu@intel.com>
     [not found] ` <20130127010632.GF12329@localhost>
     [not found]   ` <CABPqkBR4VCOpBH25yQOnhkOs6c52xEnNe=P4qifDXzr7WBERxw@mail.gmail.com>
2013-01-28 23:46     ` [PATCH tip] perf/x86: nhm_events_attrs and snb_events_attrs can be static Fengguang Wu
2013-01-29  0:31       ` Stephane Eranian
2013-01-29  9:42       ` [tip:perf/x86] perf/x86: Mark nhm_events_attrsas static tip-bot for Fengguang Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.