search for: xrayexampl

Displaying 9 results from an estimated 9 matches for "xrayexampl".

Did you mean: xrayexample
2018 Aug 27
2
Testing LLVM XRay
...used 'fxray-instrument' switch when compiling and then specified 'patch_premain=true' at XRAY_OPTIONS. Is there anything else that I need to do? I am on a trunk build of clang. Could that be it? I am on clang version 8.0.0 (trunk 340502). Regards Buddhika [1] https://llvm.org/docs/XRayExample.html#id9 -- Research Assistant Indiana University Web: http://homes.soic.indiana.edu/budkahaw/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180827/5579790c/attachment.html>
2018 May 29
0
My own codegen is 2.5x slower than llc?
...in the same page of memory). There’s a lot of factors that will potentially lead to why you’re seeing a marked performance difference here. If you’re able, you might want to build your code-generator with XRay and see whether it points out where your latency is coming from. https://llvm.org/docs/XRayExample.html -- Dean
2019 Jan 21
2
[X-ray] How to check successful instrumentation and generate call trace?
Hi all, I want to test X-ray performance and compare it with other research tools, so I use Clang 7.0.0 to compile and instrument GNU binutils-2.3.1 with the following commands: cd binutils-2.31/ mkdir build cd build/ CC=$local/clang CXX=$local/clang++ CFLAGS=-fxray-instrument CXXFLAGS=-fxray-instrument ../configure --prefix=/home/zhangysh1995/local make Then I extract instrumentation map
2018 Feb 15
2
RFC: XRay Profiling in LLVM
...the standardised procedure for enabling/disabling/flushing trace data. Any alternatives to this that we may not have considered yet? Thanks in advance! References [0] https://github.com/google/pprof [1] http://lists.llvm.org/pipermail/llvm-dev/2017-December/119529.html [2] https://llvm.org/docs/XRayExample.html#flame-graph-generation [3] https://github.com/google/pprof/blob/master/proto/profile.proto -- -- Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180215/0c91b8c1/attachment.html>
2018 May 29
4
My own codegen is 2.5x slower than llc?
My back-end code generator uses LLVM 5.0.1 to optimize and generate code for x86_64. If I run it on a given sample of IR, it takes almost 5 minutes to generate object code. 95%+ of this time is spent in MergeConsecutiveStores(). (One function has a basic block with 14000 instructions, which is a pathological case for MergeConsecutiveStores.) If, instead, I dump out the LLVM IR, and manually
2018 Mar 27
0
RFC: XRay Profiling in LLVM
...ing/flushing trace data. Any > alternatives to this that we may not have considered yet? > > Thanks in advance! > > > References > > [0] https://github.com/google/pprof > [1] http://lists.llvm.org/pipermail/llvm-dev/2017-December/119529.html > [2] https://llvm.org/docs/XRayExample.html#flame-graph-generation > [3] https://github.com/google/pprof/blob/master/proto/profile.proto > -- > -- Dean > -- -- Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180327/d80ab673/atta...
2017 Apr 06
3
Debugging Docs and llvm.org/docs/
> On Apr 6, 2017, at 2:52 AM, Renato Golin <renato.golin at linaro.org> wrote: > > On 6 April 2017 at 05:49, Dean Michael Berris <dean.berris at gmail.com> wrote: >> I'll have a look if I can untangle that. >> >> Thanks Renato! > > Well, that didn't last long. Now I remember why last time I fixed > hundreds of warnings on the docs directly
2017 Dec 05
2
XRay Trace of Clang, Loadable through Chrome Trace Viewer
...l that comes with the LLVM sources. To generate the above, all I had to do was the following: $LLVM_BUILD_DIR/bin/llvm-xray convert -symbolize -instr_map=./bin/clang -output-format=trace_event xray-log.clang-6.0.XXXXXX | gzip > clang-6.0-default-real.txt.gz Instructions at http://llvm.org/docs/XRayExample.html also apply to llc. I hope this kind of instrumentation would be helpful in further improving Clang and the LLVM toolchain to see where latency in the execution of these tools are coming from. Thanks for reading, and I hope this helps! -- Dean PS. Thanks go to Keith Wyss who implemented th...
2018 May 09
1
How to add assembly instructions in CodeGen
Hi Dean, I looked at XRay. I also thought on the similar line to add assembly instructions as auxiliary template code and jump on to there. However, that may still dis-align the stack. I have to think about it. But your XRay code does give me the courage to think about this seriously. Thank you for your help. I also figured out that we can access certain CodeGen's feature right from the IR