I succeeded in placing USDT probes in a main program, but when I tried to do "the same thing" in a shared library I got the following link errors:
Undefined first referenced symbol in file __dtrace_toposnap___topo__snap__release__entry pics/topo_snap.o __dtrace_toposnap___topo__snap__create__entry pics/topo_snap.o __dtrace_toposnap___topo__snap__destroy__entry pics/topo_snap.o __dtrace_toposnap___topo__open__entry pics/topo_snap.o __dtrace_toposnap___topo__walk__destroy__entry pics/topo_snap.o __dtrace_toposnap___topo__snap__hold__entry pics/topo_snap.o $dtrace16733440.topo_snap_create pics/topo_snap_probes.o $dtrace16733440.topo_snap_destroy pics/topo_snap_probes.o $dtrace16733440.topo_walk_destroy pics/topo_snap_probes.o __dtrace_toposnap___topo__close__entry pics/topo_snap.o ld: fatal: Symbol referencing errors. No output written to libtopo.so.1 tried both the DTRACE_PROBE method shown in manual, -and- the "dtrace -h" generated header file method described in Adam Leventhal's "User-land tracing gets better and better", with similar results. what am I missing? -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org