1 //===-- SWIG Interface for SBTrace.h ----------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 namespace lldb {
10 
11 %feature("docstring",
12 "Represents a processor trace."
13 ) SBTrace;
14 class LLDB_API SBTrace {
15 public:
16   SBTrace();
17 
18   const char *GetStartConfigurationHelp();
19 
20   SBError Start(const SBStructuredData &configuration);
21 
22   SBError Start(const SBThread &thread, const SBStructuredData &configuration);
23 
24   SBError Stop();
25 
26   SBError Stop(const SBThread &thread);
27 
28   explicit operator bool() const;
29 
30   bool IsValid();
31 };
32 } // namespace lldb
33