TSG-14051 tsg-service-chaining-engine增加breakpad_minidump
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <signal.h>
|
||||
#include <pthread.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <MESA/breakpad_mini.h>
|
||||
|
||||
#include "sce.h"
|
||||
#include "log.h"
|
||||
@@ -11,6 +12,8 @@
|
||||
#include "health_check.h"
|
||||
#include "global_metrics.h"
|
||||
|
||||
struct breakpad_instance *g_breakpad = NULL;
|
||||
|
||||
#ifdef SCE_GIT_VERSION
|
||||
static __attribute__((__used__)) const char *__sce_version = SCE_GIT_VERSION;
|
||||
#else
|
||||
@@ -132,6 +135,8 @@ int main(int argc, char **argv)
|
||||
return -1;
|
||||
}
|
||||
|
||||
g_breakpad = breakpad_init(profile, "system", g_default_logger, __sce_version);
|
||||
|
||||
health_check_session_init(profile);
|
||||
|
||||
struct sce_ctx *ctx = sce_ctx_create(profile);
|
||||
|
||||
Reference in New Issue
Block a user