Hi, The call graphs generated by "*llvm-xray graph*" has function names, while the "*llvm-xray graph-diff*" doesn't shows function names. This is the command I am using llvm-xray graph-diff xray-log.clang.1 xray-log.clang.2 -instr-map=../xray-build/bin/clang -o diff.dot Attached is the portion of the generated diff graph. Am I missing any flag? [image: graph_diff.jpg] -- Regards, DTharun -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190107/d747769e/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: graph_diff.jpg Type: image/jpeg Size: 52417 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190107/d747769e/attachment-0001.jpg>
Hi Dangeti, That's interesting -- can you try providing both `-instr-map-1=` and `-instr-map-2=` even though they're the same binary? If that doesn't work then it sounds like a bug. Cheers On Mon, Jan 7, 2019 at 7:32 PM Dangeti Tharun kumar via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > Hi, > > The call graphs generated by "llvm-xray graph" has function names, while the "llvm-xray graph-diff" doesn't shows function names. > This is the command I am using > > llvm-xray graph-diff xray-log.clang.1 xray-log.clang.2 -instr-map=../xray-build/bin/clang -o diff.dot > > Attached is the portion of the generated diff graph. Am I missing any flag? > > -- > Regards, > DTharun > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-- Dean
Hi Dean, I have tried with -instr-map-1 and -instr-map-2, it didn't work. Is there a way to find the function name from the identifier? -DTharun On Mon, Jan 7, 2019 at 2:29 PM Dean Michael Berris <dean.berris at gmail.com> wrote:> Hi Dangeti, > > That's interesting -- can you try providing both `-instr-map-1=` and > `-instr-map-2=` even though they're the same binary? > > If that doesn't work then it sounds like a bug. > > Cheers > > On Mon, Jan 7, 2019 at 7:32 PM Dangeti Tharun kumar via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > > > Hi, > > > > The call graphs generated by "llvm-xray graph" has function names, while > the "llvm-xray graph-diff" doesn't shows function names. > > This is the command I am using > > > > llvm-xray graph-diff xray-log.clang.1 xray-log.clang.2 > -instr-map=../xray-build/bin/clang -o diff.dot > > > > Attached is the portion of the generated diff graph. Am I missing any > flag? > > > > -- > > Regards, > > DTharun > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > > > -- > Dean >-- Regards, DTharun -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190107/e5ddaa20/attachment.html>