From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755384AbYIYQB2 (ORCPT ); Thu, 25 Sep 2008 12:01:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753495AbYIYQA5 (ORCPT ); Thu, 25 Sep 2008 12:00:57 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:62620 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753342AbYIYQA4 (ORCPT ); Thu, 25 Sep 2008 12:00:56 -0400 Message-Id: <20080925155807.158539649@goodmis.org> User-Agent: quilt/0.46-1 Date: Thu, 25 Sep 2008 11:58:07 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , prasad@linux.vnet.ibm.com, Linus Torvalds , Mathieu Desnoyers , "Frank Ch. Eigler" , David Wilder , hch@lst.de, Martin Bligh , Christoph Hellwig Subject: [RFC PATCH 0/2 v2] Unified trace buffer (take two) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Again: this is a proof of concept, just spitting out code for comments. Here's my second attempt. Changes since version 1: - Ripped away all the debugfs and event registration from ring buffers. - Removed the mergesort from the ringbuffer and pushed that up to the tracer. - Changed the event header to what Linus suggested (we can discuss this and try other suggestions for v3, namely Peter Zijlstras ideas). struct { u32 time_delta:27, type:5; u32 data; u64 array[]; }; - Added timestamp at beginning of each page and implemented a way for all events to get the full timestamp from the previous. - The changes to ftrace on this release was much less than the first one. Comments? -- Steve