crashtype
static struct crashtype crashtypes[] = {
static struct crashtype crashtypes[] = {
static const struct crashtype *lkdtm_crashtype;
static const struct crashtype *find_crashtype(const char *name)
struct crashtype *crashtype;
crashtype = &crashtype_categories[cat]->crashtypes[idx];
if (!strcmp(name, crashtype->name))
return crashtype;
static noinline int lkdtm_do_action(const struct crashtype *crashtype)
if (WARN_ON(!crashtype || !crashtype->func))
crashtype->func();
const struct crashtype *crashtype)
return lkdtm_do_action(crashtype);
lkdtm_crashtype = crashtype;
const struct crashtype *crashtype = NULL;
crashtype = find_crashtype(buf);
if (!crashtype)
err = lkdtm_register_cpoint(crashpoint, crashtype);
struct crashtype *crashtype;
crashtype = &crashtype_categories[cat]->crashtypes[idx];
crashtype->name);
const struct crashtype *crashtype;
crashtype = find_crashtype(buf);
if (!crashtype)
pr_info("Performing direct entry %s\n", crashtype->name);
err = lkdtm_do_action(crashtype);
const struct crashtype *crashtype = NULL;
crashtype = find_crashtype(cpoint_type);
if (!crashtype) {
ret = lkdtm_register_cpoint(crashpoint, crashtype);
static struct crashtype crashtypes[] = {
static struct crashtype crashtypes[] = {
static struct crashtype crashtypes[] = {
struct crashtype *crashtypes;
static struct crashtype crashtypes[] = {
static struct crashtype crashtypes[] = {
static struct crashtype crashtypes[] = {
static struct crashtype crashtypes[] = {