[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091230113031.GA22095@elte.hu>
Date: Wed, 30 Dec 2009 12:30:31 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Xiao Guangrong <xiaoguangrong@...fujitsu.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Steven Rostedt <rostedt@...dmis.org>,
Paul Mackerras <paulus@...ba.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 1/5] perf_event: introduce 'inject' event and get HZ
* Peter Zijlstra <peterz@...radead.org> wrote:
> OK so there is no sysconf() syscall and its all implemented in glibc, which
> is utter suckage.. will have to come up with something saner then.
I think integrating it into the perf stream of events would be the most
desirable approach - tooling could make use of it easily.
For data record (and hierarchy) description /debug/tracing/events/ would be
useful.
We dont want to actually 'activate' them in an 'event' fashion - but we could
use event IDs and the record format and the transport to describe and recover
the values.
For transport we could use the mmap ring-buffer and it would also be nice to
add (or resurrect) some 'quick & easy' read()/write() based transport. It a
bit like a value read-out from a counter - just here it's not a regular
counter but some sort of kernel-internal value that we want to provide.
Hm?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists