Hi, I want to instrument the entry and exit points of methods to gather method-level information, such as the number of cycles spent in a method. While...
Robert, That didn't work either, but by using the debugger, I got some better information. First, ... A:vm/jit_instrument.C:PackAnalysisArgs:568: Bad IARG:...
You are missing the IARG_PTR that describes the type. Try RTN_InsertCall(rtn, IPOINT_AFTER, (AFUNPTR)MallocAfter, IARG_G_RESULT0, IARG_PTR, rc->_name.c_str(),...
Damn, it has sure been a while... I just realized today that it's been 18 months since I went out with a special lady last, but I'm pretty happy to be heading...
vi.west3590@...
Jan 8, 2006 1:05 pm
621
Two questions: In looking thru the makefile.config looks as if swallace did some work supporting other OS's than linux. See below. I would ask him but the ...
Hi, I see that PIN can handle multithreaded programs using the "-mt" flag. Are there any simple examples illustrating multithreaded support ? Thanks -Sriraman....
Hi all, I can't seem to attach PIN to an already running process. I'm trying to profile an apache server, but no matter what tool I'm trying to run (inscount0,...
Hi, Is there any documentation regarding API for using debug information in an ELF binary. The html with the distribution contains nothing under this section. ...
You may wish to look at DebugTrace or Maid example Pin Tools that are shipped with the kit. Also an explanation of your goal help us inform you better on...
Hi, Though attaching/detaching gdb works OK I can't attach pin, even when I try without any tool. (I get the same error msg as stated below). Any ideas how to...
Robert, malloctrace.C does not seem to be type-aware (it doesn't have to be, since the types are known in advance for malloc and free). Can Pin determine the...
Hi everyone - I'm currently trying to build a call graph. While I've been able to identify call instructions (via INS_IsProcedureCall() and INS_IsRet ()), I'm...
I am not sure I completly understand what you mean by "getting the address to the call site from the instruction." Can you please rephrase? And I was wondering...
Sorry for the lack of clarification - I'm not nearly as versed in assembly as I am in C++, so I'm struggling a bit with my terminology. =) Anyways, from...
Hey, I'm trying to iterate through all the basic blocks in a routine. For some reason my code will only visit one basic block in my for loop. For example, the...
Pin does not have the functionality to provide basic block boundaries in the Ahead of Time instrumentation model. This is because it does not discover the...
Pin breaks basic blocks at control flow instructions, but not joins. It should find multiple basic blocks using this definition. I suspect something else is...
Hi, Is there any documnetation or examples which helps me to understand how Static Instrumentation can be done using Pin? I am trying to determine the maximum...
Hi everyone - First off, thanks for your help earlier Veej - it's much appreciated. I've run into a problem in Pin that is causing me some heartache. I'm ...
... Happy to be of help anytime. ... I think the fundamental piece of information you are missing is -- the instruction class is a run-time datastructure that...
Hi Veej - Thanks for the insight, I figured as much as far as recycling the ids, I just wasn't clear from the documentation. I was hoping to get away from...
Hi, Could anyone tell me if for any instruction ins, the condition Ins_IsStackWrite(ins) is true then will the stack pointer SP will always be decremented?...
My intention to ask was if for an instruction, ins, the condition INS_IsStackWrite(ins) is true, then, if such an instruction, ins, gets executed will the...