From 75d664605e239072aba1cc8d233964473bad01b6 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Thu, 9 Oct 2014 15:33:41 +0100 Subject: Separate crash reporting from backtrace logging xorg_backtrace() is called in a few places to generate a backtrace for the log, when the condition is not fatal (mi queue overflow, vpnprintf unrecognized format), where we don't want to run the crash reporter Add a separate, explicit invocation of the crash reporter, which is invoked on a fatal signal only --- include/os.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/os.h') diff --git a/include/os.h b/include/os.h index 435f556aa..63b9df9af 100644 --- a/include/os.h +++ b/include/os.h @@ -690,6 +690,9 @@ LogPrintMarkers(void); extern _X_EXPORT void xorg_backtrace(void); +extern _X_EXPORT void +xorg_crashreport(void); + extern _X_EXPORT int os_move_fd(int fd); -- cgit v1.2.3