[Bug 226968] IRQ storm on cpu0 timer when holding down key on USB keyboard

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 28 09:05:04 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226968

--- Comment #9 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
When you make a hook for a function "$1", then you can print arg0, arg1, arg2
and so on. We're interested in arg1 I guess.

int     callout_reset_sbt_on(struct callout *, sbintime_t, sbintime_t,
            void (*)(void *), void *, int, int);

Try this:

#!/usr/sbin/dtrace -s

fbt::$1:entry
{
        printf("callout_reset_sbt_on(%d,%d)\n", arg0, arg1);
        @[probefunc, stack()] = count();
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list