On 24/02/26 02:11, Andi Kleen wrote:
External email: Use caution opening links or attachments
<[email protected]> writes:
Errors from create_gcov are also set to be ignored. This is because some
of the profiles end up not including invocations of one of cc1, cc1plus or lto1
and trying to use them to generate the GCOV with the missing binary ends up
failing the create_gcov command. This is expected and is not an error
condition.
This seems fairly drastic. It will probably hide a lot of other
problems risking unnoticed regressions.
Yeah, I feel the same way. This was just the first (and easiest) solution I
came up with. I couldn't really think of a better way to do this, though ...
Perhaps better check explicitly like you did in your exaqmple.
... this sounds much better and didn't cross my mind. I will try this.
For example:
perf buildid-list -i prev-libbacktrace/perf.data
aff9c7b2c5c294612904563fa3da88cb054d313d [kernel.kallsyms]
962097804b5c10ba831958fbb9609cb6d0c1101f /usr/bin/make
...
8227253257ca616415b6d90c8b94de71b314997c
/local/home/dhruvc/misc-testing/build-afdo-bootstrap-all/prev-gcc/xgcc
077d6240baadea4c3288e106b17164d164ea7b31
/local/home/dhruvc/misc-testing/build-afdo-bootstrap-all/prev-gcc/cc1
...
--
Regards,
Dhruv