search for: tracem

Displaying 7 results from an estimated 7 matches for "tracem".

Did you mean: trace
2009 Apr 27
4
dtrace : isolating the slow write
Hi Experts, _write value ------------- Distribution ------------- count 4096 | 0 8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1161825 16384 | 2754 32768 |@
2004 May 19
0
[LLVMdev] Question about insert function or instruction.
...like to insert the function in the same > bytecode, how to do it? In the above example, you would generate a bytecode version of libprofile using the standard Makefile, then link it with the bytecode version of your program using gccld or llvm-link. > 3) for opt commamnd, there have -trace -tracem options > ,how can I see the detailed direction to use it. Short answer: 1. Compile the program in question to bytecode using llvmgcc. Assume the result is 2. Run the bytecode of the program through opt -tracem, and then generate C code for the result. % opt -tracem bytecode.llvm.bc | llc -...
2004 May 19
2
[LLVMdev] Question about insert function or instruction.
...I insert the external call function to existed bytecode ? if it is valid. Can you give me a simple example to show how to do it or just give me a url which can show how to do it? 2) If I'd like to insert the function in the same bytecode, how to do it? 3) for opt commamnd, there have -trace -tracem options ,how can I see the detailed direction to use it. I went through a LowerInvoke.cpp and EdgeCode.cpp file which have examples to do what I want. Although I can learn the main flow how to insert a call funcation or instruction, but I still cannot implement it. Shame. Another thing is that I a...
2004 May 21
1
[LLVMdev] Re: LLVMdev digest, Vol 1 #292 - 4 msgs
...xisted > bytecode ? if it is valid. Can you give me a simple > example to show how to do it or just give me a url > which can show how to do it? > > 2) If I'd like to insert the function in the same > bytecode, how to do it? > > 3) for opt commamnd, there have -trace -tracem options > ,how can I see the detailed direction to use it. > > I went through a LowerInvoke.cpp and EdgeCode.cpp file > which have examples to do what I want. Although I can > learn the main flow how to insert a call funcation or > instruction, but I still cannot implement it. Sh...
2008 Dec 02
18
How to dig deeper
In order to get more information on IO performance problems I created the script below: #!/usr/sbin/dtrace -s #pragma D option flowindent syscall::*write*:entry /pid == $1 && guard++ == 0/ { self -> ts = timestamp; self->traceme = 1; printf("fd: %d", arg0); } fbt::: /self->traceme/ { /* elapsd =timestamp - self -> ts; printf(" elapsed : %d" , elapsd); */ printf(" timestamp : %d" , timestamp); } syscall::*write*:return /self->traceme/ { self->tr...
2006 Dec 07
1
When does ufunc/func work?
...ot strictly needed; I was just hoping to use it in order to profile idle time.) Here''s the story. I''ve written a dtrace script to start a separate dtrace process for each invoked command: int fileid; proc:::exec-success /pid == $target || progenyof($target)/ { self->traceme = 1; @proc[execname] = count(); } /* This should fire AFTER libc has been dloaded. */ syscall::setcontext:entry /self->traceme/ { self->traceme = 0; stop(); system("dtrace -q -s /export/home/dds/src/dtrace/libc.d -o /export/home/ dds/src/dtrace/data/%07d...
2002 Mar 01
4
UI regression
Hi, Earlier this year I "upgraded" from wine 20010510 to 20011226 in order to see if some kind of resource leak was fixed which caused screen redraws to get progressively slower and slower and slower and slower, .... That was fixed but there seemed to be a significant number of graphics and UI regressions. I've just upgraded to 20020228 to see if things were any better and within