kernels/linux-2.4.0/include/asm-s390/irq.h
/*
 * x86 profiling function, SMP safe. We might want to do this in
 * assembly totally?
 */
x86 profiling function, SMP safe.
x86 profiling function SMP safe .
static inline void s390_do_profile (unsigned long addr)
{
#if 0
        if (prof_buffer && current->pid) {
                addr -= (unsigned long) &_stext;
                addr >>= prof_shift;
                if (addr > prof_len-1)
                        addr = prof_len-1;
                atomic_inc((atomic_t *)&prof_buffer[addr]);
        }
#endif
}
static inline void s390_do_profile ( unsigned long addr ) { #if 0 if ( prof_buffer && current -> pid ) { addr -= ( unsigned long ) & _stext ; addr >>= prof_shift ; if ( addr > prof_len - 1 ) addr = prof_len - 1 ; atomic_inc ( ( atomic_t * ) & prof_buffer [ addr ] ) ; } #endif }
x86 profiling function, SMP safe.
x86 profiling function SMP safe .
/*
                 * Don't ignore out-of-bounds EIP values silently,
                 * put them into the last histogram slot, so if
                 * present, they will show up as a sharp peak.
                 */