[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1270118177.1653.146.camel@laptop>
Date: Thu, 01 Apr 2010 12:36:17 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Lin Ming <ming.m.lin@...el.com>
Cc: Cyrill Gorcunov <gorcunov@...il.com>,
Robert Richter <robert.richter@....com>,
Stephane Eranian <eranian@...gle.com>,
Ingo Molnar <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/3] perf/core, x86: unify perfctr bitmasks
On Thu, 2010-04-01 at 14:47 +0800, Lin Ming wrote:
>
> In file included from arch/x86/kernel/cpu/perf_event.c:1326:
> arch/x86/kernel/cpu/perf_event_p6.c:94: error: ‘x86_hw_config’ undeclared here (not in a function)
> arch/x86/kernel/cpu/perf_event_p6.c:99: error: unknown field ‘raw_event’ specified in initializer
> arch/x86/kernel/cpu/perf_event_p6.c:99: error: ‘x86_pmu_raw_event’ undeclared here (not in a function)
> make[3]: *** [arch/x86/kernel/cpu/perf_event.o] Error 1
>
> diff --git a/arch/x86/kernel/cpu/perf_event_p6.c b/arch/x86/kernel/cpu/perf_event_p6.c
> index 626abc0..4ec9680 100644
> --- a/arch/x86/kernel/cpu/perf_event_p6.c
> +++ b/arch/x86/kernel/cpu/perf_event_p6.c
> @@ -91,12 +91,11 @@ static __initconst struct x86_pmu p6_pmu = {
> .enable_all = p6_pmu_enable_all,
> .enable = p6_pmu_enable_event,
> .disable = p6_pmu_disable_event,
> - .hw_config = x86_hw_config,
> + .hw_config = x86_pmu_hw_config,
> .schedule_events = x86_schedule_events,
> .eventsel = MSR_P6_EVNTSEL0,
> .perfctr = MSR_P6_PERFCTR0,
> .event_map = p6_pmu_event_map,
> - .raw_event = x86_pmu_raw_event,
> .max_events = ARRAY_SIZE(p6_perfmon_event_map),
> .apic = 1,
> .max_period = (1ULL << 31) - 1,
egads, that hunk seems to have tunneled into another patch in my
queue,.. /me goes fix.
Thanks Lin.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists