search for: libopagent

Displaying 3 results from an estimated 3 matches for "libopagent".

2009 Jul 01
0
[LLVMdev] How to best add a dependency on libopagent.a/so?
I'm adding OProfile support to the JIT (patch at http://codereview.appspot.com/89041), and I'm running into trouble with getting llvm-config to print the right things to let external programs link. For some background, oprofile installs an agent library into <prefix>/lib/oprofile/libopagent.{a,so}. This isn't on the loader's default search path, even if <prefix>==/usr, so to link with the .so we also need a -rpath flag to the linker. To avoid that, I'm tentatively using the .a. In configure, behind a --with-oprofile argument, I have: LIBS="$LIBS ${llvm_cv_opp...
2014 Oct 17
3
[LLVMdev] oprofile support?
...ing to get oprofile results for jitted code without success. I built an 3.5.0 llvm with oprofile enabled, and tested it with lli on a small test case. I built the latest oprofile from the git repository. Debugging I can see that lli is registering the listener and making the oprofile calls to the libopagent api to specify the names and address ranges of jit'd routines, and even the line number information. And the oprofile agent is writing infomation to /tmp/.oprofile/jitdump. But although oprofile counts lots of samples but doesnt attribute them to the jit'd code. When execution finishes opro...
2014 Nov 29
2
[LLVMdev] oprofile support?
...lts for jitted code without success. > I built an 3.5.0 llvm with oprofile enabled, and tested it with lli on a > small test case. I built the latest oprofile from the git repository. > > Debugging I can see that lli is registering the listener and making the > oprofile calls to the libopagent api to specify the names and address > ranges of jit'd routines, and even the line number information. And the > oprofile agent is writing infomation to /tmp/.oprofile/jitdump. But > although oprofile counts lots of samples but doesnt attribute them to the > jit'd code. When exe...