lkml.org 
[lkml]   [2013]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH tip] perf/x86: nhm_events_attrs and snb_events_attrs can be static
From
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,
> };


\
 
 \ /
  Last update: 2013-01-29 02:01    [W:1.787 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site