Re: [PATCH v3 06/46] perf/x86/intel/cmt: add intel_cmt pmu

From: Thomas Gleixner
Date: Thu Nov 10 2016 - 16:30:13 EST


On Sat, 29 Oct 2016, David Carrillo-Cisneros wrote:
> static int __init cmt_alloc(void)
> {
> cmt_l3_scale = boot_cpu_data.x86_cache_occ_scale;
> @@ -240,6 +339,7 @@ static int __init cmt_start(void)
> err = -ENOMEM;
> goto rm_online;
> }
> + event_attr_intel_cmt_llc_scale.event_str = str;

And yes, that string dup should happen with this patch and not detached in
the previous one.

Thanks,

tglx