Displaying 2 results from an estimated 2 matches for "inst_prof_raw_version".
2017 Oct 26
2
Profiling data structure
...> >
> > - Since what I'm coding is a decoupled replacement for the profiling
> > runtime inside of compiler_rt, is there anyway that at compile or
> > run time I can fetch the version of the profiling data?
> >
>
> At compile time, it is the macro: INST_PROF_RAW_VERSION. At runtime, it is
> the second field of the raw profile header.
I'm not able to use INST_PROF_RAW_VERSION at compile time. Are you
sure this is exported? If I do:
cc -fprofile-instr-generate -fcoverage-mapping -dM -E - < /dev/null
I don't see INST_PROF_RAW_VERSION neither any simi...
2017 Oct 25
4
Profiling data structure
Hello,
I've been working on implementing some basic functionality in order to
use the llvm profiling functionality inside of a kernel (the Xen
hypervisor). The only functionality I'm interested in is being able to
reset the counters, get the size of the data, and dump the data into a
memory buffer.
I have to admit I haven't been able to find a lot of documentation
about how this data