Doing an anonymous mmap and then reading into that region has solved
this problem (although somewhat sub-optimally).
On 3 May 2010 18:02, Ian Rogers <rogers.email@...> wrote:
> I have precompiled code that I map into memory and then describe to
> the oprofile agent. Am I correct in thinking that the samples will go
> into a directory reflecting the name of the mapped file whilst my
> description of the loaded code will go into a different file (and
> subsequently the .jo file) ? I am observing no events happening in the
> precompiled code and the precompiled code isn't in ELF format.