diff options
| author | Dean Michael Berris <dberris@google.com> | 2017-01-03 04:04:00 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2017-01-03 04:04:00 +0000 |
| commit | 0aba35710f1db0254f8b2ba3a726d87390ff15ad (patch) | |
| tree | fee3db226d03dd7f4e1f64c7d2023bfc817d7969 /compiler-rt/include/xray | |
| parent | 887894aaef8fe7b436d48dd825dbcf5dfd4cf3ad (diff) | |
| download | bcm5719-llvm-0aba35710f1db0254f8b2ba3a726d87390ff15ad.tar.gz bcm5719-llvm-0aba35710f1db0254f8b2ba3a726d87390ff15ad.zip | |
Revert "[XRay][compiler-rt] XRay Flight Data Recorder Mode"
This reverts rL290852 as it breaks aarch64 and arm.
llvm-svn: 290854
Diffstat (limited to 'compiler-rt/include/xray')
| -rw-r--r-- | compiler-rt/include/xray/xray_log_interface.h | 51 | ||||
| -rw-r--r-- | compiler-rt/include/xray/xray_records.h | 6 |
2 files changed, 0 insertions, 57 deletions
diff --git a/compiler-rt/include/xray/xray_log_interface.h b/compiler-rt/include/xray/xray_log_interface.h deleted file mode 100644 index ca42536c840..00000000000 --- a/compiler-rt/include/xray/xray_log_interface.h +++ /dev/null @@ -1,51 +0,0 @@ -//===-- xray_log_interface.h ----------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file is a part of XRay, a function call tracing system. -// -// APIs for installing a new logging implementation. -//===----------------------------------------------------------------------===// -#ifndef XRAY_XRAY_LOG_INTERFACE_H -#define XRAY_XRAY_LOG_INTERFACE_H - -#include "xray/xray_interface.h" -#include <stddef.h> - -extern "C" { - -enum XRayLogInitStatus { - XRAY_LOG_UNINITIALIZED, - XRAY_LOG_INITIALIZING, - XRAY_LOG_INITIALIZED, - XRAY_LOG_FINALIZING, - XRAY_LOG_FINALIZED, -}; - -enum XRayLogFlushStatus { - XRAY_LOG_NOT_FLUSHING, - XRAY_LOG_FLUSHING, - XRAY_LOG_FLUSHED -}; - -struct XRayLogImpl { - XRayLogInitStatus (*log_init)(size_t, size_t, void *, size_t); - XRayLogInitStatus (*log_finalize)(); - void (*handle_arg0)(int32_t, XRayEntryType); - XRayLogFlushStatus (*flush_log)(); -}; - -void __xray_set_log_impl(XRayLogImpl Impl); -XRayLogInitStatus __xray_log_init(size_t BufferSize, size_t MaxBuffers, - void *Args, size_t ArgsSize); -XRayLogInitStatus __xray_log_finalize(); -XRayLogFlushStatus __xray_log_flushLog(); - -} // extern "C" - -#endif // XRAY_XRAY_LOG_INTERFACE_H diff --git a/compiler-rt/include/xray/xray_records.h b/compiler-rt/include/xray/xray_records.h index 9c10cd21e98..34c236b39bd 100644 --- a/compiler-rt/include/xray/xray_records.h +++ b/compiler-rt/include/xray/xray_records.h @@ -21,7 +21,6 @@ namespace __xray { enum FileTypes { NAIVE_LOG = 0, - FDR_LOG = 1, }; // This data structure is used to describe the contents of the file. We use this @@ -41,11 +40,6 @@ struct alignas(32) XRayFileHeader { // The frequency by which TSC increases per-second. alignas(8) uint64_t CycleFrequency = 0; - - // The current civiltime timestamp, as retrived from 'gettimeofday'. This - // allows readers of the file to determine when the file was created or - // written down. - struct timespec TS; } __attribute__((packed)); static_assert(sizeof(XRayFileHeader) == 32, "XRayFileHeader != 32 bytes"); |

