crashpoint
static struct crashpoint *lkdtm_crashpoint;
static int lkdtm_register_cpoint(struct crashpoint *crashpoint,
if (!crashpoint->kprobe.symbol_name)
lkdtm_crashpoint = crashpoint;
lkdtm_kprobe = &crashpoint->kprobe;
crashpoint->kprobe.symbol_name);
struct crashpoint *crashpoint = file_inode(f)->i_private;
err = lkdtm_register_cpoint(crashpoint, crashtype);
struct crashpoint *crashpoint = NULL;
crashpoint = &crashpoints[i];
if (!crashpoint) {
struct crashpoint *cur = &crashpoints[i];
if (crashpoint) {
ret = lkdtm_register_cpoint(crashpoint, crashtype);
pr_info("Invalid crashpoint %s\n", crashpoint->name);
crashpoint->name, cpoint_type);
static struct crashpoint crashpoints[] = {