Read return struct of kernel trace

2022-02-19 Thread Farhan Khan
header to print out the structure, please suggest an alternative method. Thank you! -- Farhan Khan

Filter out dtrace(1) probes

2018-08-16 Thread Farhan Khan
Thank you, -- Farhan Khan PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE ___ freebsd-dtrace@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace To unsubscribe, send any mail to "freebsd-dtrace-unsubscr...@freebsd.org"

Re: Include header files in dtrace scripts

2018-08-05 Thread Farhan Khan
Thank you very much! In my test code I didn't even include the header files and it knew how to include struct ieee80211_channel. -- Farhan Khan PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE On Sun, Aug 5, 2018 at 8:07 AM, Domagoj Stolfa wrote: > Hi Farhan: > > Y

Include header files in dtrace scripts

2018-08-04 Thread Farhan Khan
--- Is there a way to include header files and get their subsequent structs? Thanks, -- Farhan Khan PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE ___ freebsd-dtrace@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace

Dtrace probes not listed - likely optimized out

2018-07-27 Thread Farhan Khan
DEBUG="-g -O0 -fno-inline-functions" in the GENERIC configuration file, but this caused the kernel to fail to boot. "dtrace -l" still fails to list the probe for ieee80211_ioctl_get80211 I'm stuck. Any ideas? -- Farhan Khan PGP Fingerprint: B28D 2726 E2BC A97E