search for: instr_map

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

2019 Jan 07
2
[Xray] Help with Xray
...error $> llvm-xray extract -symbolize xray-log.clang-8.* YAML:1:1: error: Got empty plain scalar llvm-xray: Cannot extract instrumentation map from 'xray-log.clang-8.*' Failed loading YAML document from 'xray-log.clang-8.* but this is working llvm-xray convert xray-log.clang-8.* -instr_map=../avx/llvm/xray-build/bin/clang -output-format=yaml 1>out.yaml Am I missing anything? Cheers > -- > Dean > -- Regards, DTharun -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190107/aa93866c...
2018 Nov 26
2
Source locations missing when using xray-account
...file in 'xray-log.llvm.hgD9oi' ==4193==Cleaned up log for TID: 4193 I then attempt to use the xray-account utility to analyse the log but whilst the functions are named, the locations of the functions are displayed as <invalid>:0:0:. > llvm-xray account -sort=sum -sortorder=dsc -instr_map ./llvm xray-log.llvm.hgD9oi Functions with latencies: 5 funcid count [ min, med, 90p, 99p, max] sum function 6 9 [ 0.000006, 0.000006, 0.000040, 0.000040, 0.000040] 0.000089 <invalid>:0:0: fqux ... 4 lines omitted If I then inspe...
2018 Jun 08
2
XRay FDR mode doesn’t log main thread calls
...31756==XRay FDR init successful. Init status 2 Patching... Joined Finalize status 4 Main execution var = 6 ==31756==XRay: Log file in 'xray-log.fdr-mode.Xubrrm' Flush status 2 henry at OptiPlex-9010:~/build_xray/llvm-instrumented-build/bin$ ./llvm-xray convert -f yaml -symbolize -instr_map=./fdr-mode xray-log.fdr-mode.Xubrrm --- header: version: 2 type: 1 constant-tsc: true nonstop-tsc: true cycle-frequency: 3400000000 records: - { type: 0, func-id: 3, function: 'fA()', cpu: 2, thread: 31756, kind: function-enter, tsc: 4955892956...
2018 Dec 03
2
Source locations missing when using xray-account
...d up log for TID: 4193 >> >> I then attempt to use the xray-account utility to analyse the log but >> whilst the functions are named, the locations of the functions are >> displayed as <invalid>:0:0:. >> >>> llvm-xray account -sort=sum -sortorder=dsc -instr_map ./llvm xray-log.llvm.hgD9oi >> >> Functions with latencies: 5 >> funcid count [ min, med, 90p, 99p, >> max] sum function >> 6 9 [ 0.000006, 0.000006, 0.000040, 0.000040, >> 0.000040] 0.000089 <invalid...
2018 Dec 06
2
Source locations missing when using xray-account
...t;> I then attempt to use the xray-account utility to analyse the log but >> >> whilst the functions are named, the locations of the functions are >> >> displayed as <invalid>:0:0:. >> >> >> >>> llvm-xray account -sort=sum -sortorder=dsc -instr_map ./llvm xray-log.llvm.hgD9oi >> >> >> >> Functions with latencies: 5 >> >> funcid count [ min, med, 90p, 99p, >> >> max] sum function >> >> 6 9 [ 0.000006, 0.000006, 0.000040, 0.00004...
2019 Feb 02
2
[llvm-xray] llvm-xray cannot log every functions
...As the official document said, I put on instruction threshold flag to 1, and is using the most recently released version of clang-9 that is built from source together with compiler-rt built with source. 2. I built it using command "make", and checked with objdump that there is xray_instr_map: ./matrix: file format elf64-x86-64 Sections: Idx Name Size VMA LMA File off Algn 27 xray_instr_map 00000100 0000000000637ac0 0000000000637ac0 00037ac0 2**0 CO...
2019 Jan 07
2
[Xray] Help with Xray
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
2017 Dec 05
2
XRay Trace of Clang, Loadable through Chrome Trace Viewer
...dium. Perhaps something for the LLVM blog? For the impatient, you can generate a similar visualisation of your XRay traces with the latest `llvm-xray` tool 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 l...
2017 Nov 21
2
question about xray tls data initialization
...ately I haven't enough knowledge about linker and the runtime, and finally built executable didn't run. I'd like to share my changes here , hopes somebody help me to make it run on windows. in AsmPrinter, copy/paster xray for coff target InstMap = OutContext.getCOFFSection("xray_instr_map", 0, SectionKind::getReadOnlyWithRel()); FnSledIndex = OutContext.getCOFFSection("xray_fn_idx", 0,SectionKind::getReadOnlyWithRel()); in XRayArgs , allow windows platform to use xray args. with this, generated code seems have sled and xray parts. in xray runtime, bool atomic_compa...