Re: [PATCH V6 05/13] perf: Generic intel uncore support

2012-07-23 Thread Stephane Eranian
On Tue, Jul 24, 2012 at 8:00 AM, Yan, Zheng wrote: > [...snip...] >>> + >>> +static int __init intel_uncore_init(void) >>> +{ >>> + int ret; >>> + >>> + if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) >>> + return -ENODEV; >>> + >>> + ret = uncore_cpu_init(); >>>

Re: [PATCH V6 05/13] perf: Generic intel uncore support

2012-07-23 Thread Yan, Zheng
[...snip...] >> + >> +static int __init intel_uncore_init(void) >> +{ >> + int ret; >> + >> + if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) >> + return -ENODEV; >> + >> + ret = uncore_cpu_init(); >> + if (ret) >> + goto fail; >> + >> + u

Re: [PATCH V6 05/13] perf: Generic intel uncore support

2012-07-23 Thread Stephane Eranian
On Fri, Jun 15, 2012 at 8:31 AM, Yan, Zheng wrote: > From: "Yan, Zheng" > > This patch adds the generic intel uncore pmu support, including helper > functions that add/delete uncore events, a hrtimer that periodically > polls the counters to avoid overflow and code that places all events > for a