Hi, I've built a PIN tool that uses the PAPI interface to access the hardware performance registers available on Pentium architecture. What I've done is a tool...
O-Pin could be a better usage model for what you want to do. Look at section 4.1 of this paper: http://rogue.colorado.edu/draco/papers/micro05-dvfs.pdf I...
Hello, when i wrote performance counter handles to my pin routines, I used "stop_counters" when i entered my pin analysis and instrumentation routines, then...
Canturk -- are the start/stop counters just a single instruction? If the are and your analysis functions have control flow in them then you ought to write the...
I see what you are saying. I actually used PAPI for a while and it worked fine with pin. I did pretty much what you did with starting and stopping counters at...
Veej, Do I understand correctly that you stop at the beginning and (re)start at the end of an analysis routine? That would mean that the counters run in your ...
... That is right. ... The counters do run during Pin code too. However, under certain performance counters you can isolate data collected during Pins ...
... Yes, that's what I'm after. For that reason, I would prefer a callback as soon as "my" code is left and PIN-code is entered. A callback when PIN code is...
Please use the following two api to register callbacks to do what you are doing: CODECACHE_AddCodeCacheExitedFunction CODECACHE_AddCodeCacheEnteredFunction Put...
... Josh (or whomever), How would one go about instrumenting setuid programs such as su? When I tried this, I got (predictably): su: not running setuid One...
Hi All, I've read a couple of past emails and a paper written by Heidi Pan, "Controlling Program Execution through Binary Instrumentation". I wonder whether it...
it's possible to save a CONTEXT object to disk then later resume at that context with PIN_ExecuteAt you must checkpoint your own memory image b/c the CONTEXT...
Hi Heidi, Thanks for the info. I'll try those PinTools, though I need to find a test machine with the proper version of gcc first, since the gcc on my machine...
I put a gcc4.0.0 kit at ftp://ftp.intel.com/pub/outgoing/pin-2.0-2914-gcc.4.0.0-ia32-linux.tar.g z The rollback tool fails when I use it with this kit on fc4,...
Hello Robert, Thanks for the new package, though it's unfortunate checkpointing doesn't work with it. The reason I asked the original question is just that I'm...
My guess is that the pin checkpoint feature works, but the sample rollback tool included in the kit that uses checkpoint has a problem on fc4. ... From:...
Hi, is there a way to profile a pin-tool, so that you can see the most expensive functions in the tool ? Data does not have to be very detailed. I've tried it...
Do you have access to the PAPI interface? Using that you can sample the pc periodically and find where time is being spent in the pin tool. Ofcourse this...
Hi, we'll give this a try. Thanks and regards, Marco. ... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the...
You might also try VTune(tm) Performance Analyzer from Intel. It worked pretty well for me on Linux platform. www.intel.com/software/products for more info. ...
When using PIN to instrument a perl execution, I get this error: A:vm_ia32_l/emu_ia32_mac.C:ExecuteSysCall:143: SYS_vfork yet to be emulated in Pin/ Mac Is...
Hello, I was thinking about using Pin for a project in my Runtime Optimization class. I wanted to use Pin because it is relatively unknown to many people in...
Hi, about adding a callback for memory writes: in SimpleExamples/atrace.C, this is done with 2 callbacks (1 to store the address/size and one to process this...
There is support within Pin to a certain extent to do this sort of work -- it depends on the type of optimizations you are wishing to perform. You can re-Jit a...
... Seems like they were using a modified version of pin. I thought the pin code was closed source? Is o-pin available somewhere? ... How exactly would I go...
... Much of the OPin API is available within the currently released kit. There is an OPin section in the documentation. However, the functions need to be filed...
Thanks. I asked this, because we want to get rid of the overhead of callbacks, where possible and now 2 callbacks are used for each write. Would it also work...