Home
last modified time | relevance | path

Searched refs:trace_imc_refc (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/perf/
H A Dimc-pmu.c46 static struct imc_pmu_ref *trace_imc_refc; variable
1231 trace_imc_refc[core_id].id = core_id; in trace_imc_mem_alloc()
1232 spin_lock_init(&trace_imc_refc[core_id].lock); in trace_imc_mem_alloc()
1369 if (trace_imc_refc) in trace_imc_event_add()
1370 ref = &trace_imc_refc[core_id]; in trace_imc_event_add()
1413 if (trace_imc_refc) in trace_imc_event_del()
1414 ref = &trace_imc_refc[core_id]; in trace_imc_event_del()
1619 kfree(trace_imc_refc); in cleanup_all_trace_imc_memory()
1757 trace_imc_refc = kcalloc(nr_cores, sizeof(struct imc_pmu_ref), in imc_mem_init()
1759 if (!trace_imc_refc) in imc_mem_init()