Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dprofile.c43 static atomic_t *prof_buffer; variable
122 prof_buffer = kzalloc(buffer_bytes, GFP_KERNEL|__GFP_NOWARN); in profile_init()
123 if (prof_buffer) in profile_init()
126 prof_buffer = alloc_pages_exact(buffer_bytes, in profile_init()
128 if (prof_buffer) in profile_init()
131 prof_buffer = vzalloc(buffer_bytes); in profile_init()
132 if (prof_buffer) in profile_init()
194 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
255 atomic_add(nr_hits, &prof_buffer[pc]); in do_profile_hits()
257 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in do_profile_hits()
[all …]