Path: blob/21.2-virgl/include/android_stub/backtrace/backtrace_constants.h
7137 views
/*1* Copyright (C) 2014 The Android Open Source Project2*3* Licensed under the Apache License, Version 2.0 (the "License");4* you may not use this file except in compliance with the License.5* You may obtain a copy of the License at6*7* http://www.apache.org/licenses/LICENSE-2.08*9* Unless required by applicable law or agreed to in writing, software10* distributed under the License is distributed on an "AS IS" BASIS,11* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12* See the License for the specific language governing permissions and13* limitations under the License.14*/1516#ifndef _BACKTRACE_BACKTRACE_CONSTANTS_H17#define _BACKTRACE_BACKTRACE_CONSTANTS_H1819// When the pid to be traced is set to this value, then trace the current20// process. If the tid value is not BACKTRACE_NO_TID, then the specified21// thread from the current process will be traced.22#define BACKTRACE_CURRENT_PROCESS (-1)23// When the tid to be traced is set to this value, then trace the specified24// current thread of the specified pid.25#define BACKTRACE_CURRENT_THREAD (-1)2627#define MAX_BACKTRACE_FRAMES 2562829#endif // _BACKTRACE_BACKTRACE_CONSTANTS_H303132