FreeBSD/usr.sbin/pmcannotate/pmcannotate.c
/*
 * Lookup a raw entry by the PC.
 */
Lookup a raw entry by the PC.
Lookup a raw entry by the PC .
static struct entry *
general_findent(uintptr_t pc)
{
	struct entry *obj;
	TAILQ_FOREACH(obj, &mainlst, en_iter)
		if (obj->en_pc == pc)
			return (obj);
	return (NULL);
}
static struct entry * general_findent ( uintptr_t pc ) { struct entry * obj ; TAILQ_FOREACH ( obj , & mainlst , en_iter ) if ( obj -> en_pc == pc ) return ( obj ) ; return ( NULL ) ; }
Lookup a raw entry by the PC.
Lookup a raw entry by the PC .