Displaying 4 results from an estimated 4 matches for "stupid_isprim".
Did you mean:
stupid_isprime
2016 Dec 10
2
Interest in integrating a linux perf JITEventListener?
Hi,
Under linux a large portion of the profiling these days happens with
perf, but there's no support for it from LLVM's JITs.
For a while perf could associate address+size to symbols by writing a
/tmp/perf-$pid.map file:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/jit-interface.txt
A year or so perf also gained the ability to actually
2017 Feb 02
0
Interest in integrating a linux perf JITEventListener?
...-i perf.data -o perf.jit.data
# and show information
perf report -i perf.jit.data
Example output:
Samples: 3K of event 'cycles:ppp', Event count (approx.): 3127026392
Overhead Command Shared Object Symbol
- 93.41% lli jitted-27248-2.so [.] stupid_isprime
stupid_isprime
main
llvm::MCJIT::runFunction
llvm::ExecutionEngine::runFunctionAsMain
main
__libc_start_main
0xec26258d4c544155
+ 0.55% lli ld-2.24.so [.] do_lookup_x
+ 0.22% lli ld-2.24.so [.] _dl...
2018 Mar 26
0
Interest in integrating a linux perf JITEventListener?
...# and show information
> perf report -i perf.jit.data
>
> Example output:
> Samples: 3K of event 'cycles:ppp', Event count (approx.): 3127026392
> Overhead Command Shared Object Symbol
> - 93.41% lli jitted-27248-2.so [.] stupid_isprime
> stupid_isprime
> main
> llvm::MCJIT::runFunction
> llvm::ExecutionEngine::runFunctionAsMain
> main
> __libc_start_main
> 0xec26258d4c544155
> + 0.55% lli ld-2.24.so [.] do_lookup_x
> + 0.22% lli...
2016 Dec 29
1
Interest in integrating a linux perf JITEventListener?
Having something like this available in tree would definitely be
useful. For simplicity, why don't we start with support for the second
style? This is the long term useful one and would be a good starting
point for getting the code in tree. Can you give a pointer to the patch
so that I can assess the rough complexity? If it's simple enough, I'd
be happy to help get it reviewed