Home
last modified time | relevance | path

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

/openbmc/linux/kernel/
H A Dprofile.c45 static unsigned short int prof_shift; variable
71 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup()
74 prof_shift); in profile_setup()
81 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup()
83 select, prof_shift); in profile_setup()
98 prof_len = (_etext - _stext) >> prof_shift; in profile_init()
101 pr_warn("profiling shift: %u too large\n", prof_shift); in profile_init()
213 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in do_profile_hits()
311 pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift; in do_profile_hits()
393 unsigned long sample_step = 1UL << prof_shift; in read_profile()