User: Password:
|
|
Subscribe / Log in / New account

Re: [PATCH 2/4] tracing: add event trace infrastructure

From:  Andrew Morton <akpm-AT-linux-foundation.org>
To:  Steven Rostedt <rostedt-AT-goodmis.org>
Subject:  Re: [PATCH 2/4] tracing: add event trace infrastructure
Date:  Tue, 24 Feb 2009 20:33:08 -0800
Message-ID:  <20090224203308.8d623e0b.akpm@linux-foundation.org>
Cc:  LKML <linux-kernel-AT-vger.kernel.org>, Ingo Molnar <mingo-AT-elte.hu>, Thomas Gleixner <tglx-AT-linutronix.de>, Peter Zijlstra <peterz-AT-infradead.org>, Frederic Weisbecker <fweisbec-AT-gmail.com>, Theodore Tso <tytso-AT-mit.edu>, Arjan van de Ven <arjan-AT-infradead.org>, Pekka Paalanen <pq-AT-iki.fi>, Arnaldo Carvalho de Melo <acme-AT-redhat.com>, Jason Baron <jbaron-AT-redhat.com>, Martin Bligh <mbligh-AT-google.com>, Mathieu Desnoyers <compudj-AT-krystal.dyndns.org>, "Frank Ch. Eigler" <fche-AT-redhat.com>, KOSAKI Motohiro <kosaki.motohiro-AT-jp.fujitsu.com>, Jens Axboe <jens.axboe-AT-oracle.com>, Masami Hiramatsu <mhiramat-AT-redhat.com>, Steven Rostedt <srostedt-AT-redhat.com>
Archive-link:  Article

On Tue, 24 Feb 2009 23:08:56 -0500 (EST) Steven Rostedt <rostedt@goodmis.org> 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?



(Log in to post comments)


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds