You can get the number of bytes moved by passing the IARG_MEMORYREAD_SIZE/IARG_MEMORYWRITE_SIZE. If you are only interested in the instructions with a REP...
Cristiano Pereira
ligieri2006@...
Jul 4, 2006 3:18 pm
923
We still have interest in doing this, but it's not implemented yet. -- Greg ________________________________ From: pinheads@yahoogroups.com...
Does PIN generate traces that reflect the actual memory access patterns that the processor would normally generate (ie out of order)? Or does PIN simulate...
pin captures the behavior of the host processor you are running on, although the instrumentation code may slightly affect the behavior you observe (but not the...
Hello, We're working to figure out how much of an application is stalled waiting for memory and i am wondering if i can use pin for that. More specifically, -...
Hi Canturk, There are two ways for you to do this. o. Use performance monitoring tools, such as Intel VTune, opensource perfmon lib, pfmon tool, etc. Those...
... This should be possible. There is a Valgrind tool (Cachegrind) that does this -- annotating each line of code with the number of cache misses (I1, D1, L2)...
Nicholas Nethercote
njn@...
Jul 13, 2006 5:56 am
930
Thanks a lot for both responses. We're currently using EMON to get event count information, but we cannot isolate stall cycles waiting for memory only. (You...
Hi all, Since I've got into a dead end with attaching Pin to a running process, I want to try and signal from within my process to Pin when to start collecting...
I'm trying to capture and record system calls to isolate the environment but I'm having problems modifying mmap calls. I need to change the file descriptor...
Are you doing anything other than alter behavior at the function granularity? If you are just altering parameters, try using the tools in the Probes directory....
I have a new question regarding the routine replacement (probe). Is there a way to create a generic probe, which does not require the definition of the target...
The second option should be good. To debug this, use the -pause_tool option as if you were using gdb, but instead use strace to attach. You can see the actual...
... Something that _may_ be relevant: under Linux there are various versions of mmap. One version, called "old_mmap" in the kernel, passes its arguments in ...
Nicholas Nethercote
njn@...
Jul 18, 2006 3:12 am
938
All- Would the strength reduction example from section 4.6 of the CGO'06 paper be available? I'm trying to learn how to modify/insert instructions into a...
You can modify/insert instructions in a trace by deleting instructions and inserting calls to functions. The functions are inlined and optimized. Tests/emu.C...
Hello, I'm fairly new to PIN, but am planning to use is quite extensively to characterize some benchmarks (SPEC CPU2000). I would like to do that on a cluster...
Starting with pin kit 2578, you could link pin statically by doing a make pin.static in the Bin directory. This was later removed so you might not be able to...
... I can't seem to find kit 2578 on http://rogue.colorado.edu/Pin/downloads.php... Should I look somewhere else? Can you also tell me why it was removed?...
Hello pinheads, I'd like to write a pintool which returns me the instruction mix, categorized as follows: % loads, % stores, % control operations, % arithmetic...
Download the 2772 kit. cd Bin edit makefile remove the -wrap arguments from the link line make pin.static We included pin in library form so end users could...
Look in the simple example directories at catmix/opcodemix/... X86 is not a load store architecture. Most instructions can read memory. INS_IsMemoryRead is...
... Oh, right :) Any functions to check if an operation is a floating point/control flow operation? Or do I have write that myself? Is there any way I can get...
Hello I've written an anlysis routine that uses the MOVDQA instruction to move 128 bits between memory and an XMM register (in an attempt to speed up some data...