<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 7, 2019 at 3:21 PM Dean Michael Berris <<a href="mailto:dean.berris@gmail.com">dean.berris@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jan 7, 2019 at 8:43 PM Dangeti Tharun kumar<br>
<<a href="mailto:cs15mtech11002@iith.ac.in" target="_blank">cs15mtech11002@iith.ac.in</a>> wrote:<br>
><br>
> Hi Dean,<br>
><br>
> I have tried with -instr-map-1 and -instr-map-2, it didn't work.<br>
><br>
<br>
Yeah, I'm looking through the code and it looks like we're always just<br>
using the function id when we should be using the symbol name. Let me<br>
land a patch to fix this.</blockquote><div> </div><div>Thanks Dean. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Is there a way to find the function name from the identifier?<br>
<br>
You can try this manually by using the `llvm-xray extract -symbolize`<br>
tool to get a YAML file that maps the function id's to symbols, but<br>
that's a roundabout way of doing it. Ideally the graph-diff tool<br>
should just do it.<br>
<br></blockquote><div>I have tried this strangely I got this error</div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">$> llvm-xray extract -symbolize xray-log.clang-8.*<br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">YAML:1:1: error: Got empty plain scalar<br></font></div><div><font face="monospace, monospace">llvm-xray: Cannot extract instrumentation map from 'xray-log.clang-8.*'</font><br></div><div><font face="monospace, monospace">Failed loading YAML document from 'xray-log.clang-8.*<br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">but this is working</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="monospace, monospace">llvm-xray convert xray-log.clang-8.* -instr_map=../avx/llvm/xray-build/bin/clang -output-format=yaml 1>out.yaml<br></font></div><div><br></div><div>Am I missing anything?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Cheers<br>
-- <br>
Dean<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Regards,</div><div>DTharun</div></div></div></div></div></div></div></div></div></div></div></div></div></div>