Hi, Stan.

> Is it a power 8 or power 9 machine? And presumably it is Dyninst 10.1?
> I am currently using dyninst 10.1.0 on a:
> uname -a
> Linux rh-power-vm07.fit.vutbr.cz 5.0.16-100.fc28.ppc64le #1 SMP Wed May
15 08:12:10 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux

Unfortunately, Linux doesn't encode the Power cpu information into uname.
Could you try `cat /proc/cpuinfo | grep cpu | uniq`?

Thanks.

 - Tim


On Tue, Jul 16, 2019 at 3:35 PM Stan Cox <s...@redhat.com> wrote:

>
> > I agree that detach should not remove instrumentation.
> >
> > Is it a power 8 or power 9 machine? And presumably it is Dyninst 10.1?
>
> I am currently using dyninst 10.1.0 on a:
> uname -a
> Linux rh-power-vm07.fit.vutbr.cz 5.0.16-100.fc28.ppc64le #1 SMP Wed May
> 15 08:12:10 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux
>
> > (1) "app_proc->detach(true);" actually will continue the mutatee, so you
> > don’t have to call "app_proc->continueExecution();” before it. I know
> > that this combination works on other platforms, but I just want to
> > isolate the problem. Can you see if the same problem occurs if you
> > delete “continueExecution()”?
>
> No change with or without continueExecution.  Adding waitForStatusChange
> before the delete will insure the snippets are not removed.
> % cd /home/scox/smoke-test/dynamic
> % ./mutatee -v 5 & LD_LIBRARY_PATH=/home/scox/dyninst-10.1.0/install/lib
> DYNINSTAPI_RT_LIB=/home/scox/dyninst-10.1.0/install/lib/libdyninstAPI_RT.so
>
> ./mutator $!
> [1] 11412
> FUNCTION EXECUTED. VALUE = 0
> FUNCTION EXECUTED. VALUE = 1
> MUTATION DONE. MUTATOR IS GOING...
> rh-power-vm07:~/smoke-test/dynamic
> FUNCTION EXECUTED. VALUE = 1
> FUNCTION EXECUTED. VALUE = 1
> FUNCTION EXECUTED. VALUE = 1
>
> >
> > (2)  detach will remove instrumentations in fork, exec, and exit, which
> > are used for controlling the mutatee. Can you go to source file
> > dyninstAPI/src/dynProcess.C and comment out lines between 1064 and 1069?
> > These lines should look like:
>
> I'll give that a whirl
>
> _______________________________________________
> Dyninst-api mailing list
> Dyninst-api@cs.wisc.edu
> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to