Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965756AbaKNPh5 (ORCPT ); Fri, 14 Nov 2014 10:37:57 -0500 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.227]:48507 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965682AbaKNPh4 (ORCPT ); Fri, 14 Nov 2014 10:37:56 -0500 Date: Fri, 14 Nov 2014 10:37:33 -0500 From: Steven Rostedt To: Masami Hiramatsu Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Jiri Kosina , Petr Mladek , Namhyung Kim , Srikar Dronamraju Subject: Re: [RFC][PATCH 10/23 v4] tracing/uprobes: Do not use return values of trace_seq_printf() Message-ID: <20141114103733.03ffc40b@gandalf.local.home> In-Reply-To: <54662133.4060405@hitachi.com> References: <20141114011244.256115061@goodmis.org> <20141114011411.693008134@goodmis.org> <54662133.4060405@hitachi.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 15 Nov 2014 00:35:15 +0900 Masami Hiramatsu wrote: > > for (i = 0; i < tu->tp.nr_args; i++) { > > struct probe_arg *parg = &tu->tp.args[i]; > > > > - if (!parg->type->print(s, parg->name, data + parg->offset, entry)) > > - goto partial; > > + parg->type->print(s, parg->name, data + parg->offset, entry); > > In 7/23 you've left loop canceling path, why don't you do same thing here? While rebasing this series on my latest code, this patch conflicted. I notice the difference too (just two minutes ago!). I agree, it should break out still. Srikar, can I still have your Reviewed-by if I do that? -- Steve > > Thank you, > > > } > > > > - if (trace_seq_puts(s, "\n")) > > - return TRACE_TYPE_HANDLED; > > + trace_seq_puts(s, "\n"); > > > > -partial: > > - return TRACE_TYPE_PARTIAL_LINE; > > + return trace_handle_return(s); > > } > > > > typedef bool (*filter_func_t)(struct uprobe_consumer *self, > > > -- 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/