search for: fasttrap_isa

Displaying 4 results from an estimated 4 matches for "fasttrap_isa".

2007 Feb 28
1
FASTTRAP_SUNWDTRACE_SIZE
Hi, What is the value of FASTTRAP_SUNWDTRACE_SIZE for PowerPC ? This macro is in file fasttrap_isa.h For Intel : /usr/src/uts/intel/sys #define FASTTRAP_SUNWDTRACE_SIZE 64 and for Sparc : /usr/src/uts/sparc/sys #define FASTTRAP_SUNWDTRACE_SIZE 128 Regards Deepak Bhatia This message posted from opensolaris.org
2007 Jan 21
3
ustack() wrong in pid return probes?
...e c() method appears to be missing. I did some poking around and noticed that pid return probes fire after the instruction being instrumented has executed. It seems to me that after a "ret", we''re actually in method c() now, not d(). However, there is this comment and code in fasttrap_isa.c : /* * Set the program counter to the address of the traced * instruction so that it looks right in ustack() * output. We had previously set it to the end of the * instruction to simplify %rip-relative addressing. */ rp->r_pc = pc; Is this correct? It seems like the correct ustack...
2008 Mar 04
0
Determining curthread pointer (ulwp_t) via libproc on i386
...#error "Need to figure this out" #endif printf("ulwp_t is 0x%lx\n", addr); -------------------------------------------------------------------------------- But things don''t seem to be as simple as that for the 32-bit/32-bit case. From usr/src/uts/intel/dtrace/fasttrap_isa.c, we have this code for the i386 case (to get the address of the thread-local scratch space used for fasttrap probes, which is just after the ul_self pointer): -------------------------------------------------------------------------------- /* * Compute the addres...
2007 Feb 14
10
Asynchronous signal handling in fasttrap provider
Hi, I was going through the implementation of the fasttrap provider. I found that when displaced execution happens (ie., when the instruction traced is being executed out of the scratch space) if an asynchrnous signal comes we need to defer the delivery. Can somebody explain why this is necessary and how is it implemented? Thanks in advance Saravanan S -------------- next part -------------- An