1 //===-- esan_sideline_bsd.cpp -----------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of EfficiencySanitizer, a family of performance tuners.
12 // Support for a separate or "sideline" tool thread on FreeBSD.
13 //===----------------------------------------------------------------------===//
15 #include "sanitizer_common/sanitizer_platform.h"
18 #include "esan_sideline.h"
22 static SidelineThread *TheThread;
24 bool SidelineThread::launchThread(SidelineFunc takeSample, void *Arg,
29 bool SidelineThread::joinThread() {
35 #endif // SANITIZER_FREEBSD