Home
last modified time | relevance | path

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

/openbmc/linux/kernel/
H A Dprofile.c43 static atomic_t *prof_buffer; variable
113 prof_buffer = kzalloc(buffer_bytes, GFP_KERNEL|__GFP_NOWARN); in profile_init()
114 if (prof_buffer) in profile_init()
117 prof_buffer = alloc_pages_exact(buffer_bytes, in profile_init()
119 if (prof_buffer) in profile_init()
122 prof_buffer = vzalloc(buffer_bytes); in profile_init()
123 if (prof_buffer) in profile_init()
185 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
246 atomic_add(nr_hits, &prof_buffer[pc]); in do_profile_hits()
248 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in do_profile_hits()
[all …]