Re: increased power consumption lately?

From: Ngie Cooper (yaneurabeya) <"Ngie>
Date: Wed, 5 Apr 2017 11:15:20 -0700
> On Apr 5, 2017, at 10:39, Adrian Chadd <adrian_at_freebsd.org> wrote:
> 
> hm, you could use dtrace to find what's calling that function and
> print out the call stack?

	*does shrug* something like this (I realize it’s not printing out arg0 — arg0 is a union that would need decoding)?
Thanks,
-Ngie

$ cat AcpiNsLookup.d
fbt:kernel:AcpiNsLookup:entry
{
        printf("PathInfo: %s\nType: %d\nFlags: %u",
            stringof(arg1), arg2, arg3);
}
$ sudo dtrace -s AcpiNsLookup.d

Received on Wed Apr 05 2017 - 16:15:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC