[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2f5eaf7-066a-0492-a5fe-e4cc9b1161d0@linux.intel.com>
Date: Fri, 25 Jan 2019 17:42:20 -0500
From: "Liang, Kan" <kan.liang@...ux.intel.com>
To: Song Liu <songliubraving@...com>
Cc: lkml <linux-kernel@...r.kernel.org>
Subject: Re: perf/x86/intel/uncore
On 1/25/2019 5:24 PM, Song Liu wrote:
> I also noticed that uncore_pci_probe() returns at
>
> if (atomic_inc_return(&pmu->activeboxes) > 1)
> return 0;
>
> for bus 1-7. So we only probed bus 0 (socket 0). Is this expected behavior?
We probed all, but only need to register PMU once.
It can be distinguished by cpumask. E.g. you may want to check
"/sys/devices/uncore_imc_0/cpumask".
Thanks,
Kan
Powered by blists - more mailing lists