search for: trace_table

Displaying 6 results from an estimated 6 matches for "trace_table".

2009 Sep 09
10
dtrace overhead and proper measuring technique
I''m trying to time a function within Firefoxwith a pid$target probe [2]. e.g dtrace -Zqw -x dynvarsize=64m -x evaltime=preinit -p 13954 -s menu- construct.d -s sigcont.d elapsed: 12.7942481ms cpu : 7.7911194ms count : 40 times I''m also measuring Firefox startup time by running it arguments like this: ... file:///Users/joelr/work/mozilla/startup/startup.html#`python
2017 Apr 04
3
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
...eir motivating example here: https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gcc/Extended-Asm.html #define TRACE1(NUM) \ do { \ asm goto ("0: nop;" \ ".pushsection trace_table;" \ ".long 0b, %l0;" \ ".popsection" \ : : : : trace#NUM); \ if (0) { trace#NUM: trace(); } \ } while (0) #define TRACE TRACE1(__COUNTER__)...
2017 Apr 04
1
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
...u.org/onlinedocs/gcc-4.8.4/gcc/Extended-Asm.html > > > > #define TRACE1(NUM) \ > > do { \ > > asm goto ("0: nop;" \ > > ".pushsection trace_table;" \ > > ".long 0b, %l0;" \ > > ".popsection" \ > > : : : : trace#NUM); \ > > if (0) { trace#NUM: trace(); } \ > > } while...
2018 Feb 14
0
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
...org/onlinedocs/gcc-4.8.4/gcc/Extended-Asm.html > >   > >      #define TRACE1(NUM)                         \ > >        do {                                      \ > >          asm goto ("0: nop;"                     \ > >                    ".pushsection trace_table;"   \ > >                    ".long 0b, %l0;"              \ > >                    ".popsection"                 \ > >                    : : : : trace#NUM);           \ > >          if (0) { trace#NUM: trace(); }          \ > >        } while...
2017 Apr 04
4
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
...<https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gcc/Extended-Asm.html> > > #define TRACE1(NUM) \ > do { \ > asm goto ("0: nop;" \ > ".pushsection trace_table;" \ > ".long 0b, %l0;" \ > ".popsection" \ > : : : : trace#NUM); \ > if (0) { trace#NUM: trace(); } \ > } while (0) > #define TR...
2017 Mar 30
3
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
Linux kernel is using the “asm goto” feature, other projects probably use it as well. I think it provides motivation to support it in LLVM. Regarding the complexity, I believe there is some infrastructure that we can at least partially reuse (the support for “indirectbr” instruction). My focus is adding “asm goto” support, the other things are indeed completely orthogonal and came up in bugs