Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752127AbbKQCV5 (ORCPT ); Mon, 16 Nov 2015 21:21:57 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:34929 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750982AbbKQCV4 convert rfc822-to-8bit (ORCPT ); Mon, 16 Nov 2015 21:21:56 -0500 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) Subject: Re: [PATCH V4] mm: fix kernel crash in khugepaged thread From: yalin wang In-Reply-To: <20151116092501.761f31d7@gandalf.local.home> Date: Tue, 17 Nov 2015 10:21:47 +0800 Cc: Vlastimil Babka , Ingo Molnar , Andrew Morton , Ebru Akagunduz , Rik van Riel , "Kirill A. Shutemov" , jmarchan@redhat.com, mgorman@techsingularity.net, willy@linux.intel.com, linux-kernel , linux-mm@kvack.org Content-Transfer-Encoding: 8BIT Message-Id: <233209B0-A466-4149-93C6-7173FF0FD4C5@gmail.com> References: <1447316462-19645-1-git-send-email-yalin.wang2010@gmail.com> <20151112092923.19ee53dd@gandalf.local.home> <5645BFAA.1070004@suse.cz> <20151113090115.1ad4235b@gandalf.local.home> <2F74FF6B-66DC-4BF9-972A-C2F5FFFA979F@gmail.com> <5649ACF6.1000704@suse.cz> <20151116092501.761f31d7@gandalf.local.home> To: Steven Rostedt X-Mailer: Apple Mail (2.3094) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1120 Lines: 31 > On Nov 16, 2015, at 22:25, Steven Rostedt wrote: > > On Mon, 16 Nov 2015 11:16:22 +0100 > Vlastimil Babka wrote: >> >>>> -- Steve >>> it is not easy to print for perf tools in userspace , >>> if you use this format , >>> for user space perf tool, it print the entry by look up the member in entry struct by offset , >>> you print a dynamic string which user space perf tool don’t know how to print this string . >> >> Does it work through trace-cmd? > > The two use the same code. If it works in one, it will work in the > other. > > -- Steve > i have not tried , just a question, if you print a %s , but don’t call trace_define_field() do define this string in __entry , how does user space perf tool to get this string info and print it ? i am curious .. i can try this when i have time. and report to you . Thanks-- 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/