mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-10 23:42:18 +00:00
rebase of the patch
This commit is contained in:
parent
21cd363378
commit
c33a501c6f
38
debian/patches/disable-error-xray.diff
vendored
38
debian/patches/disable-error-xray.diff
vendored
@ -1,7 +1,7 @@
|
||||
Index: llvm-toolchain-snapshot_5.0~svn299813/compiler-rt/lib/xray/xray_tsc.h
|
||||
Index: llvm-toolchain-snapshot_5.0~svn300419/compiler-rt/lib/xray/xray_tsc.h
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_5.0~svn299813.orig/compiler-rt/lib/xray/xray_tsc.h
|
||||
+++ llvm-toolchain-snapshot_5.0~svn299813/compiler-rt/lib/xray/xray_tsc.h
|
||||
--- llvm-toolchain-snapshot_5.0~svn300419.orig/compiler-rt/lib/xray/xray_tsc.h
|
||||
+++ llvm-toolchain-snapshot_5.0~svn300419/compiler-rt/lib/xray/xray_tsc.h
|
||||
@@ -61,8 +61,6 @@ inline uint64_t getTSCFrequency() XRAY_N
|
||||
|
||||
} // namespace __xray
|
||||
@ -11,35 +11,3 @@ Index: llvm-toolchain-snapshot_5.0~svn299813/compiler-rt/lib/xray/xray_tsc.h
|
||||
#endif // CPU architecture
|
||||
|
||||
#endif // XRAY_EMULATE_TSC_H
|
||||
Index: llvm-toolchain-snapshot_5.0~svn299813/compiler-rt/lib/xray/xray_fdr_logging_impl.h
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_5.0~svn299813.orig/compiler-rt/lib/xray/xray_fdr_logging_impl.h
|
||||
+++ llvm-toolchain-snapshot_5.0~svn299813/compiler-rt/lib/xray/xray_fdr_logging_impl.h
|
||||
@@ -423,11 +423,11 @@ static inline void processFunctionHook(
|
||||
return;
|
||||
}
|
||||
|
||||
- uint64_t CycleFrequency = getTSCFrequency();
|
||||
+/* uint64_t CycleFrequency = getTSCFrequency();
|
||||
NumberOfTicksThreshold = CycleFrequency *
|
||||
flags()->xray_fdr_log_func_duration_threshold_us /
|
||||
1000000;
|
||||
- setupNewBuffer(Buffer, wall_clock_reader);
|
||||
+ setupNewBuffer(Buffer, wall_clock_reader);*/
|
||||
}
|
||||
|
||||
if (CurrentCPU == std::numeric_limits<uint16_t>::max()) {
|
||||
@@ -489,11 +489,11 @@ static inline void processFunctionHook(
|
||||
BufferQueue::getErrorString(EC));
|
||||
return;
|
||||
}
|
||||
- uint64_t CycleFrequency = getTSCFrequency();
|
||||
+/* uint64_t CycleFrequency = getTSCFrequency();
|
||||
NumberOfTicksThreshold = CycleFrequency *
|
||||
flags()->xray_fdr_log_func_duration_threshold_us /
|
||||
1000000;
|
||||
- setupNewBuffer(Buffer, wall_clock_reader);
|
||||
+ setupNewBuffer(Buffer, wall_clock_reader);*/
|
||||
}
|
||||
|
||||
// By this point, we are now ready to write at most 24 bytes (one metadata
|
||||
|
Loading…
Reference in New Issue
Block a user