I am using pin to build a mapping from instructions to basic blocks. Is it possible to do this statically? ManualExamples/staticcount.C has a comment which...
Hi, Would it be possible to count/trace only user level instructions (ie. exclude system calls) using pin ? I use kit 0.171 on the itanium. Thanks, Pradeep...
Pradeep Rao
pradeep@...
Oct 3, 2004 10:46 pm
30
Pradeep: As far as I know pin does not follow system calls, e.g. it will not instrument the kernel. Do you want to actually exclude the syscall *instruction*...
Greetings, A related question. I need to do something in my analysis code whenever there is a call/return from a system call. Is it possible to hook up...
The reason behind this question was the following observation: A change in the tool name gives different results, for example from PinTools/Tests $ icount2 --...
Pradeep Rao
pradeep@...
Oct 4, 2004 4:48 am
33
In your example, the /bin/ls program scans the directory. In between the two invocations of /bin/ls, you are adding a new file to the directory. This may...
You can do this by instrumenting the instructions that look like system calls (depends on the architecture you are using). Insert one call with IPOINT_BEFORE...
When using RTN_Open, I believe every RTN contains a single BBL, and that BBL contains all the instructions, even if there are control flow instructions. As it...
Satish: For pin2 have a look at ManualExample/strace R ... From: Cohn, Robert S [mailto:Robert.S.Cohn@...] Sent: Monday, October 04, 2004 3:21 AM To:...
... The argument to /bin/ls is /dev/null. I've seen a difference in icount even with other applications when the executable name is changed. ... Isn't the...
Pradeep Rao
pradeep@...
Oct 5, 2004 2:42 pm
38
Rao: The startup code in each program does a lot of work especially for shared images and is the most likely culprit. One problem could be the commandline...
... Pradeep: The difference between pin and pfmon reported instruction counts can be explained the following way: Pin counts all retired instructions...
Hi, I'm a PIN newbie and I ran into the following error when trying to run PIN: [bratt@cagfarm-48 SimpleExamples]$ ../Bin/pin -t opcodemix -- /bin/ls == 0 ...
What version of linux are you using? ... From: iandotbratt [mailto:bratt@...] Sent: Saturday, October 23, 2004 12:28 PM To: pinheads@yahoogroups.com ...
redhat 7.2, gcc version 3.3.2 On Sat, 23 Oct 2004 17:39:05 -0400, Cohn, Robert S ... -- Ian R. Bratt 77 Massachusetts Ave, 32-G785 Cambridge, MA 02139 email:...
Ian: Does it work if you do not use the opcode tool at all, e.g.: $ ../Bin/pin -- /bin/ls If that works could you try some other tools and see whether those ...
Hi Is there a way to ensure pin call Fini function even when the application is terminated abruptly, say because of SIGSEV signal? More generally, is there a...
Satish, Pin only calls the Fini after exit system call, and does not provide a way to ensure the Fini is called when the process is terminated another way. You...
Hi Robert, I think the problem I was getting earlier was due to the fact that I didn't have the proper version of binutils in my PATH. After a little path...
Sorry it took so long to reply. The -d flag works. I've attached the ls binary. On another note, I have a redhat 9.0 install on my laptop and everything...
Hi Some release notes and the CGO tutorial (for just IPF?) talks about support for multithreaded support in Pin but I couldn't find a version or documentation...
Hi, Is there anyway one can use PIN to monitor I-cache or D-cache misses? I am reading the CGO paper on ISPIKE by C.K. Luk et al. They do a comparison of...
We have a Pin tool that measures load latency. We used it measure D-cache misses. This tool is currently only for Pin 0. Pin 2 version of this tool is yet to...
Luk, Chi-Keung
Pin.Project@...
Oct 26, 2004 2:30 pm
54
I downloaded the Pin2 from the following link http://rogue.colorado.edu/cgi-bin/Pin/download.pl?file=pin-2.0-1157-gcc.3.2- ia32.tar.gz Then I followed the...
The API has changed between pin0 and pin2. For example, instead of PIN_AddInstrumentInstructionFunction, you use INS_AddInstrumentFunction. Robert ... From:...
Dan: The other compilation problem you see is because we are very pedantic with our code base and compile everything using the gcc flags -Wall -Werror. The...
Since pin counts all instructions executed, in principle isn't INST_DISPERSED (pfmon), measured at the user level, a better match to the pin instruction count...