Re: [PATCH 16/22] perf/x86/intel/uncore: Support multi-die/package

From: Peter Zijlstra
Date: Tue May 07 2019 - 08:23:17 EST


On Mon, May 06, 2019 at 05:26:11PM -0400, Len Brown wrote:
> @@ -1223,7 +1225,7 @@ static int uncore_event_cpu_online(unsigned int cpu)
> struct intel_uncore_box *box;
> int i, ret, pkg, target;
>
> - pkg = topology_logical_package_id(cpu);
> + pkg = topology_logical_die_id(cpu);
> ret = allocate_boxes(types, pkg, cpu);
> if (ret)
> return ret;

'pkg' != 'die'