From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29460 invoked by alias); 11 Oct 2006 15:27:03 -0000 Received: (qmail 29450 invoked by uid 22791); 11 Oct 2006 15:27:01 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from atlrel9.hp.com (HELO atlrel9.hp.com) (156.153.255.214) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Oct 2006 15:26:49 +0000 Received: from smtp1.fc.hp.com (smtp1.fc.hp.com [15.15.136.127]) by atlrel9.hp.com (Postfix) with ESMTP id 8BD733A0A8; Wed, 11 Oct 2006 11:26:45 -0400 (EDT) Received: from ldl.fc.hp.com (ldl.fc.hp.com [15.11.146.30]) by smtp1.fc.hp.com (Postfix) with ESMTP id 67337C0508; Wed, 11 Oct 2006 15:26:45 +0000 (UTC) Received: from localhost (ldl.lart [127.0.0.1]) by ldl.fc.hp.com (Postfix) with ESMTP id 4433D134149; Wed, 11 Oct 2006 09:26:45 -0600 (MDT) Received: from ldl.fc.hp.com ([127.0.0.1]) by localhost (ldl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09774-07; Wed, 11 Oct 2006 09:26:41 -0600 (MDT) Received: from [15.228.173.214] (unknown [15.228.173.214]) by ldl.fc.hp.com (Postfix) with ESMTP id 2A0A8134143; Wed, 11 Oct 2006 09:26:41 -0600 (MDT) Message-ID: <452D0D30.8050405@hp.com> Date: Wed, 11 Oct 2006 15:27:00 -0000 From: "Alan D. Brunelle" User-Agent: Thunderbird 1.5.0.2 (X11/20060522) MIME-Version: 1.0 To: Tom Zanussi Cc: axboe@suse.de, systemtap@sources.redhat.com, linux-btrace@vger.kernel.org Subject: Re: [blktrace kernel patch] Separate out non-blktrace-specific code References: <17701.38333.687992.592272@tut.ibm.com> <17702.34529.84263.377316@tut.ibm.com> In-Reply-To: <17702.34529.84263.377316@tut.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ldl.fc.hp.com X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00089.txt.bz2 Tom Zanussi wrote: > Tom Zanussi writes: > > This patch moves the non-block-specific code out of the core blktrace > > kernel code and moves it into a separate utt.* files, so that anyone > > can use it for generic tracing. It also adds a config option, > > CONFIG_UTT, and hooks up the remaining code in blktrace.c to use it. > > The accompanying userspace patch does the same thing for the userspace > > tools. > > > > I should have mentioned that the kernel patch was against a recent git > kernel, and doesn't apply cleanly to a 2.6.18 stable kernel. Here's a > patch against 2.6.18 stable. I've only had time to compile-test it - > no time right now to do anything more, since I'm almost out the > door - hopefully it works... > > Tom > > FYI: I was able to patch a 2.6.18-based kernel (with this patch) & latest blktrace sources, and able to successfully capture traces and process them with UTT in place. This seems to work just fine for me. Alan PS. Dual-Opteron w/ U320 SCSI disk used for tracing...