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: > > You should

Re: Include header files in dtrace scripts

2018-08-05 Thread Domagoj Stolfa
Hi Farhan: You should call DTrace with -C, which is the C preprocessor: --- #!/usr/sbin/dtrace -Cs #include #include #include #include --- — Domagoj > On 5 Aug 2018, at 06:43, Farhan Khan wrote: > > Hi all, > > I am trying to run dtrace on some net80211