Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dprofile.c43 static atomic_t *prof_buffer; variable
101 prof_buffer = kzalloc(buffer_bytes, GFP_KERNEL|__GFP_NOWARN); in profile_init()
102 if (prof_buffer) in profile_init()
105 prof_buffer = alloc_pages_exact(buffer_bytes, in profile_init()
107 if (prof_buffer) in profile_init()
110 prof_buffer = vzalloc(buffer_bytes); in profile_init()
111 if (prof_buffer) in profile_init()
122 atomic_add(nr_hits, &prof_buffer[pc]); in do_profile_hits()
127 if (prof_on != type || !prof_buffer) in profile_hits()
172 pnt = (char *)prof_buffer + p - sizeof(atomic_t); in read_profile()
[all …]