Re: [PATCH v5 3/3] tracing: add trace event for memory-failure

From: Steven Rostedt
Date: Thu May 07 2015 - 09:01:37 EST


On Thu, 7 May 2015 19:38:01 +0800
Xie XiuQi <xiexiuqi@xxxxxxxxxx> wrote:

> + TP_printk("pfn %#lx: recovery action for %s: %s",

I checked the libtraceevent code, and %# is handled.

-- Steve

> + __entry->pfn,
> + __print_symbolic(__entry->type, MF_PAGE_TYPE),
> + __print_symbolic(__entry->result, MF_ACTION_RESULT)
> + )
> +);
> +#endif /* CONFIG_MEMORY_FAILURE */
> #endif /* _TRACE_HW_EVENT_MC_H */
>
> /* This part must be outside protection */
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/