Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/perf/
Dimc-pmu.c46 static struct imc_pmu_ref *trace_imc_refc; variable
1224 trace_imc_refc[core_id].id = core_id; in trace_imc_mem_alloc()
1225 spin_lock_init(&trace_imc_refc[core_id].lock); in trace_imc_mem_alloc()
1362 if (trace_imc_refc) in trace_imc_event_add()
1363 ref = &trace_imc_refc[core_id]; in trace_imc_event_add()
1406 if (trace_imc_refc) in trace_imc_event_del()
1407 ref = &trace_imc_refc[core_id]; in trace_imc_event_del()
1612 kfree(trace_imc_refc); in cleanup_all_trace_imc_memory()
1750 trace_imc_refc = kcalloc(nr_cores, sizeof(struct imc_pmu_ref), in imc_mem_init()
1752 if (!trace_imc_refc) in imc_mem_init()