Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757942AbZJLTLB (ORCPT ); Mon, 12 Oct 2009 15:11:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757491AbZJLTLA (ORCPT ); Mon, 12 Oct 2009 15:11:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41253 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757479AbZJLTK7 (ORCPT ); Mon, 12 Oct 2009 15:10:59 -0400 Message-ID: <4AD37FEF.9050807@redhat.com> Date: Mon, 12 Oct 2009 15:13:51 -0400 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Thunderbird/3.0b4 MIME-Version: 1.0 To: Frederic Weisbecker CC: Steven Rostedt , Ingo Molnar , lkml , systemtap , DLE , Thomas Gleixner , Arnaldo Carvalho de Melo , Mike Galbraith , Paul Mackerras , Peter Zijlstra , Christoph Hellwig , Ananth N Mavinakayanahalli , Jim Keniston , "Frank Ch. Eigler" Subject: Re: [PATCH tracing/kprobes v3 4/7] tracing/kprobes: Avoid field name confliction References: <20091007222733.1684.32035.stgit@dhcp-100-2-132.bos.redhat.com> <20091007222807.1684.26880.stgit@dhcp-100-2-132.bos.redhat.com> <20091012173752.GB5059@nowhere> In-Reply-To: <20091012173752.GB5059@nowhere> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 799 Lines: 27 Frederic Weisbecker wrote: > The conflict issue might not be obvious for a user desperately trying to set > a kprobe. Even for other failcases, it might not be obvious (blacklisted > symbols, syntax errors...) > > May be should you improve the error granularity and print a KERN_DEBUG > message? Agreed, and kprobes error handling should be improved too (in the most cases, it just returns -EINVAL). Thank you. -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- 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/