llvm-project/compiler-rt/lib/xray
Dean Michael Berris 10141261e1 [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode
Summary:
llvm-xray changes:
- account-mode - process-id  {...} shows after thread-id
- convert-mode - process {...} shows after thread
- parses FDR and basic mode pid entries
- Checks version number for FDR log parsing.

Basic logging changes:
- Update header version from 2 -> 3

FDR logging changes:
- Update header version from 2 -> 3
- in writeBufferPreamble, there is an additional PID Metadata record (after thread id record and tsc record)

Test cases changes:
- fdr-mode.cc, fdr-single-thread.cc, fdr-thread-order.cc modified to catch process id output in the log.

Reviewers: dberris

Reviewed By: dberris

Subscribers: hiraditya, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D49153

llvm-svn: 336974
2018-07-13 05:38:22 +00:00
..
tests [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00
CMakeLists.txt [CMake] Remove unnecesary list of source files for Xray unit tests. 2018-07-12 13:48:18 +00:00
weak_symbols.txt [XRay][compiler-rt][Darwin] Minimal XRay build support in Darwin 2017-11-28 11:49:22 +00:00
xray_AArch64.cc [XRay][compiler-rt] Add noop patch functions for unsupported arches. 2018-04-17 23:19:23 +00:00
xray_allocator.h [XRay][compiler-rt] xray::Array Freelist and Iterator Updates 2018-07-10 08:25:44 +00:00
xray_always_instrument.txt [XRay][compiler-rt][NFC] Add example always/never instrument files. 2017-06-28 04:44:36 +00:00
xray_arm.cc [XRay][compiler-rt] Add noop patch functions for unsupported arches. 2018-04-17 23:19:23 +00:00
xray_basic_flags.cc [XRay][compiler-rt] Support string-based config for Basic mode. 2018-05-04 06:27:53 +00:00
xray_basic_flags.h [XRay][compiler-rt] Support string-based config for Basic mode. 2018-05-04 06:27:53 +00:00
xray_basic_flags.inc [XRay][compiler-rt] Support string-based config for Basic mode. 2018-05-04 06:27:53 +00:00
xray_basic_logging.cc [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00
xray_basic_logging.h [XRay][compiler-rt] Support string-based config for Basic mode. 2018-05-04 06:27:53 +00:00
xray_buffer_queue.cc [XRay][compiler-rt] Remove __sanitizer:: from namespace __xray (NFC) 2018-06-05 06:12:42 +00:00
xray_buffer_queue.h [XRay][compiler-rt] Remove __sanitizer:: from namespace __xray (NFC) 2018-06-05 06:12:42 +00:00
xray_defs.h [XRay][compiler-rt] Disable XRay instrumentation of the XRay runtime. 2016-11-16 01:01:13 +00:00
xray_fdr_flags.cc [XRay][compiler-rt] Support string-based config for FDR mode 2018-05-04 06:13:35 +00:00
xray_fdr_flags.h [XRay][compiler-rt] Support string-based config for FDR mode 2018-05-04 06:13:35 +00:00
xray_fdr_flags.inc [XRay][compiler-rt] Support in-memory processing of FDR mode logs 2018-05-14 03:35:01 +00:00
xray_fdr_log_records.h [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00
xray_fdr_logging.cc [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00
xray_fdr_logging.h [XRay] [compiler-rt] FDR logging arg1 handler 2017-09-28 05:29:59 +00:00
xray_flags.cc [XRay][compiler-rt] Support string-based config for FDR mode 2018-05-04 06:13:35 +00:00
xray_flags.h [XRay][compiler-rt] Support string-based config for FDR mode 2018-05-04 06:13:35 +00:00
xray_flags.inc [XRay][compiler-rt] Support string-based config for Basic mode. 2018-05-04 06:27:53 +00:00
xray_function_call_trie.h [XRay][compiler-rt] Fixup build breakage 2018-07-10 08:58:12 +00:00
xray_init.cc [asan] Fix deadlock issue on FreeBSD, caused by use of .preinit_array in rL325240 2018-07-01 17:52:41 +00:00
xray_interface.cc [XRay][compiler-rt] Remove __sanitizer:: from namespace __xray (NFC) 2018-06-05 06:12:42 +00:00
xray_interface_internal.h Implement trampoline and handler for typed xray event tracing. 2018-04-17 21:28:53 +00:00
xray_log_interface.cc [XRay][compiler-rt] Remove __sanitizer:: from namespace __xray (NFC) 2018-06-05 06:12:42 +00:00
xray_mips.cc [XRay][compiler-rt] Add noop patch functions for unsupported arches. 2018-04-17 23:19:23 +00:00
xray_mips64.cc [XRay][compiler-rt] Add noop patch functions for unsupported arches. 2018-04-17 23:19:23 +00:00
xray_never_instrument.txt [XRay][compiler-rt][NFC] Add example always/never instrument files. 2017-06-28 04:44:36 +00:00
xray_powerpc64.cc [XRay][compiler-rt] Add noop patch functions for unsupported arches. 2018-04-17 23:19:23 +00:00
xray_powerpc64.inc Re-commit r295017, since we have a potential fix of the tests, r295248, landed. 2017-02-15 22:40:29 +00:00
xray_profile_collector.cc [XRay][compiler-rt] Profiling Mode: Flush logs on exit 2018-07-13 04:04:18 +00:00
xray_profile_collector.h [XRay] Fixup: Address some warnings breaking build 2018-05-31 04:55:11 +00:00
xray_profiling.cc [XRay][compiler-rt] Profiling Mode: Flush logs on exit 2018-07-13 04:04:18 +00:00
xray_profiling_flags.cc [XRay][profiler] Part 4: Profiler Mode Wiring 2018-06-12 03:29:39 +00:00
xray_profiling_flags.h [XRay][profiler] Part 4: Profiler Mode Wiring 2018-06-12 03:29:39 +00:00
xray_profiling_flags.inc [XRay][compiler-rt] Profiling Mode: Flush logs on exit 2018-07-13 04:04:18 +00:00
xray_recursion_guard.h [XRay][compiler-rt] Refactor recursion guard for Basic and FDR Mode 2018-06-06 06:07:48 +00:00
xray_segmented_array.h [XRay][compiler-rt] xray::Array Freelist and Iterator Updates 2018-07-10 08:25:44 +00:00
xray_trampoline_AArch64.S Add NO_EXEC_STACK_DIRECTIVE to xray assembly files. 2017-03-15 21:18:47 +00:00
xray_trampoline_arm.S Add NO_EXEC_STACK_DIRECTIVE to xray assembly files. 2017-03-15 21:18:47 +00:00
xray_trampoline_mips.S [Compiler-rt][XRAY][MIPS] Support xray on mips/mipsel/mips64/mips64el 2017-02-15 10:54:09 +00:00
xray_trampoline_mips64.S [Compiler-rt][XRAY][MIPS] Support xray on mips/mipsel/mips64/mips64el 2017-02-15 10:54:09 +00:00
xray_trampoline_powerpc64.cc Re-commit r295017, since we have a potential fix of the tests, r295248, landed. 2017-02-15 22:40:29 +00:00
xray_trampoline_powerpc64_asm.S [XRay] Fix XRay PPC return value bug. 2017-05-10 16:28:21 +00:00
xray_trampoline_x86_64.S [XRay][compiler-rt] Add llvm-mca assembler annotations for XRay (NFC) 2018-05-08 01:57:51 +00:00
xray_tsc.h [XRay][compiler-rt] Support TSC emulation even for x86_64 2017-03-15 02:28:00 +00:00
xray_utils.cc [sanitizer] Use const char* in internal_simple_strtoll 2018-06-17 08:41:45 +00:00
xray_utils.h [XRay][compiler-rt] Fixup build breakage 2018-07-10 08:58:12 +00:00
xray_x86_64.cc [XRay] Fix error message. NFC 2018-06-19 15:39:19 +00:00
xray_x86_64.inc Add Xray instrumentation support to FreeBSD 2018-02-15 14:17:15 +00:00