Hi Dave, > 1) how do i set an absolute address probe in a pid provider of C++ > code? i figured out how to set a C++ function probe by using the > mangled name. i get a compiler error on my attempt at an absolute > address declaration in my attempts to figure out how to declare it. > The address is part of the process space and not specific to eg `main`.
What are you trying and what's the error you're seeing? > 2) can i declare multithreaded probes so that i can observe the > specific probe firings per declared thread? I'm not sure exactly what you mean, but you can record your thread ID when a probe fires using the 'tid' variable. > 2.1) how do i set pid probes against future threads? how do i declare > each thread's run context in the provider's part for the potential > probe. these threads are not static but created and launched > depending on the runtime context. > 2.2) how do i get pid functions firing on these future threads? All threads in your process will be traced by the pid provider. Adam -- Adam Leventhal, Fishworks http://blogs.sun.com/ahl _______________________________________________ dtrace-discuss mailing list [email protected]
