Hi friends, I am a beginner in using PIN tool. I need good tutorial on PIN tool and programs. Can you suggest me some sites for PIN tutorial and programming???...
hi, I am a begginer in PIN. I need full information (i.e, installation, writing and executing PIN program etc.). Kindly help me as soon as possible. Add more...
On pintool.org there is a link 'learn pin' with slides from a tutorial. Under 'downloads' there is a manual. Robert ________________________________ From:...
Hello, I would like to make a cache analyzer by pin. Please guide me if you have any similar experience. Your helps would be highly appreciated. kind regards, ...
Can anyone please tell me the correct way to use RTN_ReplaceSignature to wrap a varargs function like printf. I used to use RTN_Replace but according to the...
Hi, Please guide me about Counting Synchronization Primitives such as Locks, Barriers, Conditions, ... of a program by Pin. Would you please introduce the API...
I've played with this a bit more and I think I've come up with something that works, at least for the cases I've tried so far. void REPLACE_printf(AFUNPTR...
Pin does not have a general solution for replacing functions with a variable number of parameters. I think the code you have will probably work if all the...
The example tool "ManualExamples/proccount" counts calls to each procedure. You could change it to count only calls to certain synchronization procedures such...
Using PIN, how to find out when the context switch has occurred between two threads of a process? I am using pthread_create() and pthread_yield() for thread...
Hello, I've seen in the Exploratory Extensions section of the PinTutorial a page about tracing physical and virtual addresses. I found it very interesting...
... a page about ... interesting because I want ... last version of PIN. ... virtual addresses is ... if I get a trace of ... a simulator, ... assure it...
Pin cannot tell you when the kernel has switched a thread off of a processor. If you just want to know when the thread calls pthread_yield(), you can, of...
You can use "RTN_InsertCall(IPOINT_BEFORE, ...)" to find out when "main" starts. You can try using "RTN_InsertCall(IPOINT_AFTER, ...)" to find out when "main"...
Hello, I would like to ask if there is a way of measuring (execution?) time between instructions. For example if the total number of instructions executed is...
you mean, like putting an instrumentation point before and after what you want to measure, two gettimeofday() on them? On Tue, Jan 13, 2009 at 10:25 AM,...
I am not quite sure if gettimeofday() is appropriate. I need something fast (because it will be used very often) and precise. For example I might need to know...
I think using the RDTSC instruction will give you the precision you want. If you google for it'll you'll find a lot of information explaining what it is and...
Beware that measuring time in Pin will also measure the instructions that Pin inserts. If you want a precise timing of application instructions, it's better...
A real minor point, but is rev 24110 pin 2.5 or pin 2.6? Manual and release notes say that it is pin 2.6 but the name of the tar.gz file shows that it is pin...
I want to insert calls in JIT mode to functions from the original application using function pointers I gathered beforehand. In one post I read that one should...
When you insert a call to an analysis routine with INS_InsertCall(), Pin makes a native call to the analysis routine. In contrast, Pin usually executes...