1359575Sdim//===-- SWIG Interface for SBTraceOptions -----------------------*- C++ -*-===// 2359575Sdim// 3359575Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4359575Sdim// See https://llvm.org/LICENSE.txt for license information. 5359575Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6359575Sdim// 7359575Sdim//===----------------------------------------------------------------------===// 8359575Sdim 9359575Sdimnamespace lldb { 10359575Sdim 11359575Sdimclass LLDB_API SBTraceOptions { 12359575Sdimpublic: 13359575Sdim SBTraceOptions(); 14359575Sdim 15359575Sdim lldb::TraceType getType() const; 16359575Sdim 17359575Sdim uint64_t getTraceBufferSize() const; 18359575Sdim 19359575Sdim lldb::SBStructuredData getTraceParams(lldb::SBError &error); 20359575Sdim 21359575Sdim uint64_t getMetaDataBufferSize() const; 22359575Sdim 23359575Sdim void setTraceParams(lldb::SBStructuredData ¶ms); 24359575Sdim 25359575Sdim void setType(lldb::TraceType type); 26359575Sdim 27359575Sdim void setTraceBufferSize(uint64_t size); 28359575Sdim 29359575Sdim void setMetaDataBufferSize(uint64_t size); 30359575Sdim 31359575Sdim void setThreadID(lldb::tid_t thread_id); 32359575Sdim 33359575Sdim lldb::tid_t getThreadID(); 34359575Sdim 35359575Sdim explicit operator bool() const; 36359575Sdim 37359575Sdim bool IsValid(); 38359575Sdim}; 39359575Sdim} 40