Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751811AbbEHBAj (ORCPT ); Thu, 7 May 2015 21:00:39 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:13264 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751122AbbEHBAi (ORCPT ); Thu, 7 May 2015 21:00:38 -0400 Message-ID: <554C0A92.2080709@huawei.com> Date: Fri, 8 May 2015 09:00:02 +0800 From: Xie XiuQi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Steven Rostedt CC: , , , , , , , , Subject: Re: [PATCH v5 3/3] tracing: add trace event for memory-failure References: <1430998681-24953-1-git-send-email-xiexiuqi@huawei.com> <1430998681-24953-4-git-send-email-xiexiuqi@huawei.com> <20150507090127.34a7f93f@gandalf.local.home> In-Reply-To: <20150507090127.34a7f93f@gandalf.local.home> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.17.191] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.554C0AA2.01A7,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: f059f7aec2a27a32396e0656a57fdc3d Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 Lines: 33 On 2015/5/7 21:01, Steven Rostedt wrote: > On Thu, 7 May 2015 19:38:01 +0800 > Xie XiuQi wrote: > >> + TP_printk("pfn %#lx: recovery action for %s: %s", > > I checked the libtraceevent code, and %# is handled. Good, thank you! > > -- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/