示例#1
0
void StackAnalyzer::analyze() {
	backtrace_simple(
		bt_state,
		base_skip_frames,   // skip some frames at "most recent call"
		backtrace_simple_callback,
		backtrace_error_callback,
		reinterpret_cast<void *>(this)
	);
}
示例#2
0
void StackAnalyzer::analyze() {
	backtrace_simple(
		bt_state,
		1,                              // skip this many stack frames
		backtrace_simple_callback,
		backtrace_error_callback,
		reinterpret_cast<void *>(this)
	);
}