[llvm-dev] llvm-xray: Converter to trace_event yields huge files for templated programs

Ospina De Los Rios, Santiago via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 7 04:39:18 PST 2021


Hi,


the `llvm-xray convert --output-format=trace_event --symbolize ...` command tries to symbolize the name of each event. This makes results to be huge when function signatures of C++ template functions are big. As far as I understand, this is not necessary since the `stackTrace` objects are also symbolized, and each event is linked to its respective `stackTrace` by the stack function id [1]. So my question is, why is the event symbolized at all?  am I missing something?


[1]: https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview


Best Regards,

Santiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210107/6dfea2dd/attachment.html>


More information about the llvm-dev mailing list