From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758542AbZBYEfI (ORCPT ); Tue, 24 Feb 2009 23:35:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751960AbZBYEe5 (ORCPT ); Tue, 24 Feb 2009 23:34:57 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:55979 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbZBYEe4 (ORCPT ); Tue, 24 Feb 2009 23:34:56 -0500 Date: Tue, 24 Feb 2009 20:33:08 -0800 From: Andrew Morton To: Steven Rostedt Cc: LKML , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Frederic Weisbecker , Theodore Tso , Arjan van de Ven , Pekka Paalanen , Arnaldo Carvalho de Melo , Jason Baron , Martin Bligh , Mathieu Desnoyers , "Frank Ch. Eigler" , KOSAKI Motohiro , Jens Axboe , Masami Hiramatsu , Steven Rostedt Subject: Re: [PATCH 2/4] tracing: add event trace infrastructure Message-Id: <20090224203308.8d623e0b.akpm@linux-foundation.org> In-Reply-To: References: <20090225025608.956691460@goodmis.org> <20090225025753.798204550@goodmis.org> <20090224194548.3effb746.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Feb 2009 23:08:56 -0500 (EST) Steven Rostedt wrote: > > Gad, what a lot of stuff. > > > > Use strncpy_from_user()? > > > > Use strstrip()? > > > > Why do we care about leading and trailing whitespace - user error! > > This is because i want: > > cat available_events > set_event > > to work. :( Why on earth do we keep on putting all these pretty-printers and pretty-parsers into the kernel? I mean, how hard is it for userspace to read a text file, do some basic substitutions and print it out again?