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
80 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup()
83 prof_shift); in profile_setup()
90 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup()
92 select, prof_shift); in profile_setup()
107 prof_len = (_etext - _stext) >> prof_shift; in profile_init()
110 pr_warn("profiling shift: %u too large\n", prof_shift); in profile_init()
222 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in do_profile_hits()
320 pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift; in do_profile_hits()
402 unsigned long sample_step = 1UL << prof_shift; in read_profile()