Home
last modified time | relevance | path

Searched refs:xray (Results 1 – 25 of 168) sorted by relevance

1234567

/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A DCMakeLists.txt9 add_llvm_tool(llvm-xray
11 llvm-xray.cpp
12 xray-account.cpp
13 xray-color-helper.cpp
14 xray-converter.cpp
15 xray-extract.cpp
16 xray-fdr-dump.cpp
17 xray-graph-diff.cpp
18 xray-graph.cpp
19 xray-registry.cpp
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/tools/llvm-xray/
H A DBUILD.gn1 executable("llvm-xray") {
12 "llvm-xray.cpp",
13 "xray-account.cpp",
14 "xray-color-helper.cpp",
15 "xray-converter.cpp",
16 "xray-extract.cpp",
17 "xray-fdr-dump.cpp",
18 "xray-graph-diff.cpp",
19 "xray-graph.cpp",
20 "xray-registry.cpp",
[all …]
/llvm-project-15.0.7/llvm/include/llvm/XRay/
H A DYAMLXRayRecord.h21 namespace xray {
55 template <> struct ScalarEnumerationTraits<xray::RecordTypes> {
56 static void enumeration(IO &IO, xray::RecordTypes &Type) {
58 IO.enumCase(Type, "function-exit", xray::RecordTypes::EXIT);
66 template <> struct MappingTraits<xray::YAMLXRayFileHeader> {
67 static void mapping(IO &IO, xray::YAMLXRayFileHeader &Header) {
76 template <> struct MappingTraits<xray::YAMLXRayRecord> {
77 static void mapping(IO &IO, xray::YAMLXRayRecord &Record) {
93 template <> struct MappingTraits<xray::YAMLXRayTrace> {
94 static void mapping(IO &IO, xray::YAMLXRayTrace &Trace) {
[all …]
H A DInstrumentationMap.h27 namespace xray {
106 template <> struct ScalarEnumerationTraits<xray::SledEntry::FunctionKinds> {
107 static void enumeration(IO &IO, xray::SledEntry::FunctionKinds &Kind) {
108 IO.enumCase(Kind, "function-enter", xray::SledEntry::FunctionKinds::ENTRY);
109 IO.enumCase(Kind, "function-exit", xray::SledEntry::FunctionKinds::EXIT);
110 IO.enumCase(Kind, "tail-exit", xray::SledEntry::FunctionKinds::TAIL);
112 xray::SledEntry::FunctionKinds::LOG_ARGS_ENTER);
114 xray::SledEntry::FunctionKinds::CUSTOM_EVENT);
118 template <> struct MappingTraits<xray::YAMLXRaySledEntry> {
119 static void mapping(IO &IO, xray::YAMLXRaySledEntry &Entry) {
[all …]
/llvm-project-15.0.7/compiler-rt/lib/xray/tests/unit/
H A Dfdr_controller_test.cpp32 using ::llvm::xray::testing::FuncId;
33 using ::llvm::xray::testing::HasArg;
34 using ::llvm::xray::testing::RecordType;
35 using ::llvm::xray::testing::TSCIs;
71 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST_F()
95 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST_F()
116 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST_F()
131 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST_F()
155 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST_F()
179 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST_F()
[all …]
H A Dfdr_log_writer_test.cpp29 using ::llvm::xray::testing::FuncId;
30 using ::llvm::xray::testing::RecordType;
68 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST()
72 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER)), in TEST()
73 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::EXIT))))); in TEST()
121 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST()
124 FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER))))); in TEST()
156 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST()
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/X86/
H A Dgraph-simple-case.yaml1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml \
3 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e count \
6 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e min \
8 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e med \
10 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e 90p \
12 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e 99p \
14 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e max \
16 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e sum \
31 #EMPTY: digraph xray {
36 #COUNT: digraph xray {
[all …]
H A Dgraph-deduce-tail-call.yaml1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d \
3 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e count \
6 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e min \
8 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e med \
10 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e 90p \
12 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e 99p \
14 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e max \
16 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e sum \
49 #EMPTY: digraph xray {
58 #COUNT: digraph xray {
[all …]
H A Daccount-simple-sorting.yaml1 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck --check-prefix DEFAUL…
2 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -s count | FileCheck --check-pref…
3 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -s min | FileCheck --check-prefix…
4 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -s max | FileCheck --check-prefix…
5 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -s sum | FileCheck --check-prefix…
7 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -s count -r dsc | FileCheck --che…
8 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -s min -r dsc | FileCheck --check…
9 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -s max -r dsc | FileCheck --check…
10 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -s sum -r dsc | FileCheck --check…
H A Dconvert-with-debug-syms.txt1 ; RUN: llvm-xray convert -m %S/Inputs/elf64-sample-o2.bin -y %S/Inputs/naive-log-simple.xray -f yam…
2 ; RUN: llvm-xray convert -m %S/Inputs/elf64-sample-o2.bin -y %S/Inputs/naive-log-simple.xray -f yam…
20 ; RUN: llvm-xray convert -m %S/Inputs/elf64-sample-o2.bin --symbolize --no-demangle %S/Inputs/naive…
H A Daccount-empty-stack-error.yaml1 #RUN: not llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -d 2>&1 | FileCheck %s
2 #RUN: llvm-xray account %s -k -o - -m %S/Inputs/simple-instrmap.yaml -d 2>&1 | FileCheck %s --check…
17 # the llvm-xray account tool has an option to keep going, gives the user a
25 #CHECK-NEXT: llvm-xray: Failed accounting function calls in file '{{.*}}'.
H A Dstack-keep-going.yaml1 # RUN: not llvm-xray stack %s 2>&1 | FileCheck --check-prefix HALT %s
2 # RUN: llvm-xray stack -k %s 2>&1 | FileCheck --check-prefix KEEP-GOING-SUCCEEDS %s
3 # RUN: llvm-xray stack -k %s | FileCheck --check-prefix KEEP-GOING %s
22 # HALT: llvm-xray: Found record {FuncId: "#4", ThreadId: "111", RecordType: "Fn Exit"} with no matc…
H A Dconvert-with-yaml-instrmap.txt1 ; RUN: llvm-xray convert -m %S/Inputs/simple-xray-instrmap.yaml %S/Inputs/naive-log-simple.xray -f …
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A DCMakeLists.txt162 add_compiler_rt_component(xray)
213 add_compiler_rt_runtime(clang_rt.xray
224 PARENT_TARGET xray)
234 PARENT_TARGET xray)
244 PARENT_TARGET xray)
254 PARENT_TARGET xray)
290 add_compiler_rt_runtime(clang_rt.xray
298 PARENT_TARGET xray)
308 PARENT_TARGET xray)
318 PARENT_TARGET xray)
[all …]
H A Dxray_flags.inc18 XRAY_FLAG(const char *, xray_logfile_base, "xray-log.",
19 "Filename base for the xray logfile.")
27 "DEPRECATED: Use xray_mode=xray-basic instead.")
40 "DEPRECATED: Use xray_mode=xray-fdr instead.")
/llvm-project-15.0.7/llvm/docs/
H A DXRayExample.rst64 ==69819==XRay: Log file in 'xray-log.llc.m35qPB'
68 The ``llvm-xray`` Tool
81 $ llvm-xray account xray-log.llc.m35qPB --top=10 --sort=sum --sortorder=dsc --instr_map=./bin/llc
106 $ llvm-xray convert -f yaml --symbolize --instr_map=./bin/llc xray-log.llc.m35qPB
152 ==69819==XRay: Log file in 'xray-log.llc.5rqxkU'
154 $ llvm-xray account xray-log.llc.5rqxkU --top=10 --sort=sum --sortorder=dsc --instr_map=./bin/llc
184 # xray-attr-list.txt
208 $ llvm-xray stack xray-log.llc.5rqxkU --instr_map=./bin/llc
255 …$ llvm-xray stack xray-log.llc.5rqxkU --instr_map=./bin/llc --stack-format=flame --aggregation-typ…
269 --output-format=trace_event xray-log.llc.5rqxkU \
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dxray-attribute-instrumentation.ll3 define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" {
35 … @bar() nounwind noinline uwtable "function-instrument"="xray-never" "function-instrument"="xray-a…
67 define i32 @instrumented() nounwind noinline uwtable "xray-instruction-threshold"="1" {
99 …@not_instrumented() nounwind noinline uwtable "xray-instruction-threshold"="1" "function-instrumen…
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dxray-log-args.ll6 define i32 @callee(i32 %arg) nounwind noinline uwtable "function-instrument"="xray-always" "xray-lo…
28 define i32 @caller(i32 %arg) nounwind noinline uwtable "function-instrument"="xray-always" "xray-lo…
H A Dxray-partial-instrumentation-skip-exit.ll6 define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-exit" {
26 define i32 @bar(i32 %i) nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-ex…
H A Dxray-partial-instrumentation-skip-entry.ll5 define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-entry" {
24 define i32 @bar(i32 %i) nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-en…
H A Dxray-custom-log.ll7 define i32 @customevent() nounwind "function-instrument"="xray-always" !dbg !1 {
12 call void @llvm.xray.customevent(ptr %eventptr, i32 %val), !dbg !8
38 define i32 @typedevent() nounwind "function-instrument"="xray-always" !dbg !2 {
46 call void @llvm.xray.typedevent(i16 %type, ptr %eventptr, i32 %val), !dbg !9
78 declare void @llvm.xray.customevent(ptr, i32)
79 declare void @llvm.xray.typedevent(i16, ptr, i32)
/llvm-project-15.0.7/llvm/utils/gn/secondary/compiler-rt/include/
H A DBUILD.gn30 "xray/xray_interface.h",
31 "xray/xray_log_interface.h",
32 "xray/xray_records.h",
/llvm-project-15.0.7/compiler-rt/test/xray/
H A DCMakeLists.txt11 list(APPEND XRAY_TEST_DEPS xray)
30 add_lit_testsuite(check-xray "Running the XRay tests"
33 set_target_properties(check-xray PROPERTIES FOLDER "Compiler-RT Misc")
/llvm-project-15.0.7/compiler-rt/include/
H A DCMakeLists.txt32 xray/xray_interface.h
33 xray/xray_log_interface.h
34 xray/xray_records.h
86 # Install xray headers.
90 DESTINATION ${COMPILER_RT_INSTALL_INCLUDE_DIR}/xray)
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/AArch64/
H A Dextract-instrmap.test5 # RUN: llvm-xray extract %t.so -s | FileCheck %s
6 # RUN: llvm-xray extract %t.so --no-demangle --demangle -s | FileCheck %s
17 # RUN: llvm-xray extract -s --no-demangle %t.so | FileCheck --check-prefix=MANGLED %s
18 # RUN: llvm-xray extract -s --demangle --no-demangle %t.so | FileCheck --check-prefix=MANGLED %s

1234567