I would start by showing both the entry and return blocks: pid$target::sqlite3_open:entry { self->pointer = args[2] ; }
pid$target::sqlite3_open:return / self->pointer != 0 / { this->answer=(uintptr_t *)copyin(self->pointer, sizeof(uintptr_t)) /* do something with your value */ self->pointer = 0 ; } arg1 in the return should be the int being returned by the function, with arg0 being the offset within the function where the return happened. If you were using the saved value you would have needed to save it in some variable like self->xxxx Then as Brian mentioned... you need to worry about the actual type -Robert On 9/5/19, Brian Utterback <brian.utterb...@oracle.com> wrote: > What platform are you running on? What datamodel is your application > using, 32-bit or 64? > > In the question you say "I'm using the pid$target::sqlite3_open:return > probe to read from the arg1 that was set from the entry probe." but you > also show: > > (uintptr_t *)copyin(arg1, sizeof(uintptr_t)) > > as the return probe action, which is using the arg1 from the return > probe and not the entry probe. Please clarify which is it. > > On 9/4/2019 4:07 PM, example.com.use...@gmail.com wrote: >> Hello, >> >> Can any one help me with the syntax for getting the address a nested >> pointer? >> >> https://stackoverflow.com/questions/57794128/following-a-pointer-to-a-pointer >> >> Thanks! >> *DTrace <https://dtrace.topicbox.com/latest>* / dtrace-discuss / see >> discussions <https://dtrace.topicbox.com/groups/dtrace-discuss> + >> participants >> <https://dtrace.topicbox.com/groups/dtrace-discuss/members> + delivery >> options >> <https://dtrace.topicbox.com/groups/dtrace-discuss/subscription> >> Permalink >> <https://dtrace.topicbox.com/groups/dtrace-discuss/T77c99e52f2852435-Me63a47b3f9ec2f27c93baa73> >> >> > -- > All working systems eventually start to exhibit their own agenda. > > Oracle <http://www.oracle.com> > Brian Utterback | Principal Software Engineer > Phone: +16038973049 <tel:+16038973049> > https://oracle.zoom.us/s/2728168892 > https://myoracle.webex.com/join/brian.utterback > Oracle Systems/Solaris Networking > 1 Oracle Dr. | Nashua, NH 03062 > > ------------------------------------------------------------------------ > I have not lost my mind. It's backed up in the cloud somewhere. > ------------------------------------------------------------------------ > Green Oracle <http://www.oracle.com/commitment> Oracle is committed to > developing practices and products that help protect the environment > > ------------------------------------------ > DTrace: dtrace-discuss > Permalink: > https://dtrace.topicbox.com/groups/dtrace-discuss/T77c99e52f2852435-M2308b48f908630a78255f96b > Delivery options: > https://dtrace.topicbox.com/groups/dtrace-discuss/subscription > ------------------------------------------ DTrace: dtrace-discuss Permalink: https://dtrace.topicbox.com/groups/dtrace-discuss/T77c99e52f2852435-M6217a82be04ac89ce1214b92 Delivery options: https://dtrace.topicbox.com/groups/dtrace-discuss/subscription