I am trying to a run multi-threaded program that spawns 1024 threads. Unfortunately, pin bails after spawning thread #999. Is this a limitation of pin? Is...
Yes, there is a compiled-in limit of 1000 active threads in Pin. Note, it's OK if the application creates more than 1000 threads so long as there isn't more...
Li, What Linux distribution are you using? What command line did you use? Thanks, Gail ... need ... (rtn) ... newfunc, ... IARG_FUNCARG_ENTRYPOINT_VALUE, i, ...
Li, Could you describe how this fails? Do you see an error message? Does it occur on any file transfer? Thanks, Gail ... pread64. ... I ... calls ... RTN_Name...
Hmm, there are seems to be problems when I run linpack in double precision (DP) mode. When I run the SimpleExamples catmix on a small (1000x1000 matrix) in...
Without PIN, downloading a file from this FTPD server is successful (using *get test.txt* under a ftp client in my case). If under PIN using my tool...
It seems like either the arguments that are being captured by the probe are not right, or they are right and there is an issue with the probe's invocation of...
I have a very basic question on the difference of analysis code and instrumentation code, while tuning for a pintool for performance. Why do we need...
Hiya, ... The instrumentation is only done once (this is not exactly true, but still) for every static instruction (i.e. the ones you can see using objdump for...
Kenneth, Thank you for the reply. I guess I was confusing between static instrumentation (instrumentation routine) and dynamic execution (analysis routine). ...
I have done the debug as of your suggestions. The wrap-up on my findings from the failure is recorded as follows. (1) first, I have used the following command...
Hi, I just checked it. Following is what I got. Program received signal SIGILL, Illegal instruction. 0x0000080000640651 in ?? () (gdb) x/i 0x0000080000640651 ...
Hi ... If you're staring at the MICA v0.1 code, please bare in mind I will be releasing a v0.2 soon. I know the code in v0.1 is very messy, and also contains...
Hello, I'm having problems with the latest Pin kit (gcc 4.0.0), which I didn't have before (with kit 14297). When I run ammp (one of the SPEC CPU2000...
It looks like you are showing a case where interception of mmap worked. You said that an invocation of mmap64 returns 0xfffffff. We need to see that invocation...
It looks like a pin internal data structure was corrupted. Looking at your stacktrace, the problem must have occurred before PIN_StartProgram was invoked. Try...
... You're right, something fishy was going on there... Sorry about the noise. ... -- Prediction is very difficult, especially about the future. (Niels Bohr) ...
Can you double-check your prototype for mmap64()? Your tool defines it this way: typedef void * (*FNPTR_MMAP64)(void *, size_t, int, int, int, off_t); ...
I am sure that pure-ftpd is using mmap64, but the dump from strace is showing mmap64 as mmap2 instead. The invocation is due to my trick in intercepting...
Thank you for pointing out Yes, initially, I am using __off64_t, but it will not work at all: the loading of the library image fails with __off64_t. So I just...
Li, PIN_PARG(long long) is not currently supported in Pin. The problem occurs when you pass the "off" argument into the replacement routine. This corrupts...
Hi, Gail, Great, it works. As it stands out, I have one solution for this problem. Please let me know whether it works based on PIN. Declare FNPTR_MMAP64 with...
Hi, We are trying to write a pin-tool for multi-threaded apps written using pthreads. What we want to be able to do is for the pin-tool to be able to control...
... under pin, the multiple ... This is true. To answer your larger problem ... Unfortunately, it is not possible to use the pthread library inside of a tool....
... It works, and quite well. See http://people.redhat.com/drepper/futex.pdf for information on how futexes work & how to program with them....
tucek@...
Nov 6, 2007 3:27 pm
2129
Depending upon your tool, you might build a client-server kind of package, where the pin tool generates output, and stuffs it into shared memory. Then, other...
Hi, Is it possible to have on demand instrumentation through Pin? What I am looking for is to be able to turn on Pin while in middle of a process, or start the...
Hello, You could write a pin tool that does the most minimal instrumentation (e.g. icount2) and at the same time polls a file every N instructions. For...