HPCToolkit
segv_handler.c File Reference
#include <sys/types.h>
#include <stddef.h>
#include <ucontext.h>
#include <signal.h>
#include <dlfcn.h>
#include <setjmp.h>
#include <monitor.h>
#include "include/queue.h"
#include "main.h"
#include "thread_data.h"
#include "handling_sample.h"
#include "hpcrun_stats.h"
#include "memchk.h"
#include <messages/messages.h>
#include <utilities/arch/context-pc.h>
#include "segv_handler.h"
Include dependency graph for segv_handler.c:

Go to the source code of this file.

Classes

struct  segv_list_s
 

Typedefs

typedef struct segv_list_s segv_list_t
 

Functions

static SLIST_HEAD (segv_list_head, segv_list_s)
 
int hpcrun_setup_segv ()
 
int hpcrun_segv_register_cb (hpcrun_sig_callback_t cb)
 

Typedef Documentation

◆ segv_list_t

typedef struct segv_list_s segv_list_t

Function Documentation

◆ hpcrun_segv_register_cb()

int hpcrun_segv_register_cb ( hpcrun_sig_callback_t  cb)

Definition at line 194 of file segv_handler.c.

Here is the call graph for this function:

◆ hpcrun_setup_segv()

int hpcrun_setup_segv ( )

Definition at line 168 of file segv_handler.c.

Here is the caller graph for this function:

◆ SLIST_HEAD()

static SLIST_HEAD ( segv_list_head  ,
segv_list_s   
)
static

Definition at line 100 of file segv_handler.c.