Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Dprofile.c42 static atomic_t *prof_buffer; variable
120 prof_buffer = kzalloc(buffer_bytes, GFP_KERNEL|__GFP_NOWARN); in profile_init()
121 if (prof_buffer) in profile_init()
124 prof_buffer = alloc_pages_exact(buffer_bytes, in profile_init()
126 if (prof_buffer) in profile_init()
129 prof_buffer = vzalloc(buffer_bytes); in profile_init()
130 if (prof_buffer) in profile_init()
284 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
345 atomic_add(nr_hits, &prof_buffer[pc]); in do_profile_hits()
347 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in do_profile_hits()
[all …]
/linux-3.4.99/arch/mn10300/kernel/
Dprofile.c21 if (!prof_buffer) in profile_init()
46 prof_buffer, (u8 *)(prof_buffer + prof_len) - 1); in profile_init()