From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx207.postini.com [74.125.245.207]) by kanga.kvack.org (Postfix) with SMTP id 5125C6B007E for ; Thu, 12 Apr 2012 09:01:57 -0400 (EDT) Message-ID: <4F86D241.1030609@hitachi.com> Date: Thu, 12 Apr 2012 22:01:53 +0900 From: Masami Hiramatsu MIME-Version: 1.0 Subject: Re: [PATCH 1/2] perf/probe: verify instruction/offset in perf before adding a uprobe References: <20120412085748.23484.53789.stgit@nprashan.in.ibm.com> <4F86A060.1010604@linux.vnet.ibm.com> In-Reply-To: <4F86A060.1010604@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Prashanth Nageshappa Cc: Peter Zijlstra , Ingo Molnar , Andrew Morton , Linus Torvalds , Ananth N Mavinakayanahalli , Jim Keniston , LKML , Linux-mm , Oleg Nesterov , Andi Kleen , Christoph Hellwig , Steven Rostedt , Arnaldo Carvalho de Melo , Thomas Gleixner , Anton Arapov , Srikar Dronamraju (2012/04/12 18:29), Prashanth Nageshappa wrote: > To verify instruction/offset in perf, before adding a uprobe we > need to use arc/x86/lib/insn.c from perf code. Since perf Makefile > enables -Wswitch-default flag it causes build warnings/failures. This > patch is to address the build warnings in insn.c. Hmm, I see the reason why we need this. However, I think it should have more correct error checking... I'll try that. Thank you, -- Masami HIRAMATSU Software Platform Research Dept. Linux Technology Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org