a143ef9b38
Summary: Change namespace from leveldb to rocksdb. This allows a single application to link in open-source leveldb code as well as rocksdb code into the same process. Test Plan: compile rocksdb Reviewers: emayanke Reviewed By: emayanke CC: leveldb Differential Revision: https://reviews.facebook.net/D13287
14 lines
290 B
C++
14 lines
290 B
C++
#ifndef STACK_TRACE_H
|
|
#define STACK_TRACE_H
|
|
|
|
namespace rocksdb {
|
|
|
|
// Install a signal handler to print callstack on the following signals:
|
|
// SIGILL SIGSEGV SIGBUS SIGABRT
|
|
// Currently supports linux only. No-op otherwise.
|
|
void InstallStackTraceHandler();
|
|
|
|
} // namespace rocksdb
|
|
|
|
#endif
|