Searched refs:tgid_map (Results 1 - 1 of 1) sorted by relevance

/linux-master/kernel/trace/
H A Dtrace_sched_switch.c154 * The tgid_map array maps from pid to tgid; i.e. the value stored at index i
157 static int *tgid_map; variable
159 /* The maximum valid index into tgid_map. */
324 * if we observe a non-NULL tgid_map then we also observe the correct
327 int *map = smp_load_acquire(&tgid_map);
442 if (tgid_map)
446 map = kvcalloc(tgid_map_max + 1, sizeof(*tgid_map),
454 * the tgid_map we just allocated then it also observes
457 smp_store_release(&tgid_map, map);
482 int pid = entry - tgid_map;
[all...]

Completed in 167 milliseconds