I got some problem when i use x86 trace generator.
After i install the x86 trace generator and i want to test it, i got some problem.
I copy the bin binary to the folder "obj-intel64"
and i enter the command "./pin -t ./trace_generator.so -- /bin/ls " and it has a message
"./pin: line 52: /home/thousand/nmacsim/macsim-1.1/tools/x86_trace_generator/obj-intel64/./ia32/bin/pinbin: No such file or directory"
then i add the PATH in the bashrc file
"export PATH=$PATH:/home/thousand/nmacsim/macsim-1.1/tools/pin-2.10-45467-gcc.3.4.6-ia32_intel64-linux"
and enter " pin -t ./trace_generator.so -- /bin/ls"
it got some problem
"pin -t ./trace_generator.so -- /bin/ls
Killed
E:Attach to pid 1272 failed.
E: The Operating System configuration prevents Pin from using the default (parent) injection mode.
E: To resolve this, either execute the following (as root):
E: $ echo 0 > /proc/sys/kernel/yama/ptrace_scope
E: Or use the "-injection child" option.
E: For more information, regarding child injection, see Injection section in the Pin User Manual.
E:"
Anyone come acorss this problem?
Thanks,
Yi-Chien