Surya Prasad P
2005-Aug-01 05:56 UTC
[dtrace-discuss] Tracing function calls at a module load/attach time
refer to -Z option. Raghuram Kothakota wrote:>Hi All, > >I have been looking for ways to trace a loadable module/driver''s >function calls which get called at the time of module loading and attaching. >I have been trying to use the fbt provider, but the problem is that >the probes from the module/driver are not available until the module >gets loaded in to the kernel. Is there any mechanism available to >achieve this, please let me know. > >-Raghuram > >_______________________________________________ >dtrace-discuss mailing list >dtrace-discuss at opensolaris.org > >
Raghuram Kothakota
2005-Aug-01 05:59 UTC
[dtrace-discuss] Tracing function calls at a module load/attach time
Hi All, I have been looking for ways to trace a loadable module/driver''s function calls which get called at the time of module loading and attaching. I have been trying to use the fbt provider, but the problem is that the probes from the module/driver are not available until the module gets loaded in to the kernel. Is there any mechanism available to achieve this, please let me know. -Raghuram
Raghuram Kothakota
2005-Aug-01 16:57 UTC
[dtrace-discuss] Tracing function calls at a module load/attach time
Surya Prasad P wrote:> refer to -Z option.What I find is that the -Z option simply ignores the unmatched probes. This doesn''t help with my problem. -Raghuram.> > Raghuram Kothakota wrote: > > >>Hi All, >> >>I have been looking for ways to trace a loadable module/driver''s >>function calls which get called at the time of module loading and attaching. >>I have been trying to use the fbt provider, but the problem is that >>the probes from the module/driver are not available until the module >>gets loaded in to the kernel. Is there any mechanism available to >>achieve this, please let me know. >> >>-Raghuram >> >>_______________________________________________ >>dtrace-discuss mailing list >>dtrace-discuss at opensolaris.org >> >> > >-- -Raghuram
Bryan Cantrill
2005-Aug-01 17:17 UTC
[dtrace-discuss] Tracing function calls at a module load/attach time
On Mon, Aug 01, 2005 at 09:57:28AM -0700, Raghuram Kothakota wrote:> > > Surya Prasad P wrote: > > refer to -Z option. > > What I find is that the -Z option simply ignores the > unmatched probes. This doesn''t help with my problem.Are you running S10 or Nevada? This issue was addressed in Nevada Build 9, and is currently being backported to appear in S10, Update 1. - Bryan -------------------------------------------------------------------------- Bryan Cantrill, Solaris Kernel Development. http://blogs.sun.com/bmc
Raghuram Kothakota
2005-Aug-01 17:25 UTC
[dtrace-discuss] Tracing function calls at a module load/attach time
Bryan Cantrill wrote:> On Mon, Aug 01, 2005 at 09:57:28AM -0700, Raghuram Kothakota wrote: > >> >>Surya Prasad P wrote: >> >>>refer to -Z option. >> >>What I find is that the -Z option simply ignores the >>unmatched probes. This doesn''t help with my problem. > > > Are you running S10 or Nevada? This issue was addressed in Nevada Build 9, > and is currently being backported to appear in S10, Update 1.Thanks for the info. I am currently running S10, that explains why its not working in my experiments. -Raghuram.> > - Bryan > > -------------------------------------------------------------------------- > Bryan Cantrill, Solaris Kernel Development. http://blogs.sun.com/bmc