Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 2 Jun 2002 12:12:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 2 Jun 2002 12:12:12 -0400 Received: from as3-1-8.ras.s.bonet.se ([217.215.75.181]:3215 "EHLO garbo.kenjo.org") by vger.kernel.org with ESMTP id ; Sun, 2 Jun 2002 12:12:11 -0400 Subject: Re: Need help tracing regular write activity in 5 s interval From: Kenneth Johansson To: Thunder from the hill Cc: Matthias Andree , Linux Kernel Mailing List In-Reply-To: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 02 Jun 2002 18:12:08 +0200 Message-Id: <1023034329.765.16.camel@tiger> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2002-06-02 at 17:25, Thunder from the hill wrote: > Hi, > > > So: is there any trace software that can tell me "at 15:52:43.012345, > > process 4321 marked 7 blocks dirty on device /dev/hda5" (or even more > > detail so I can figure if it's just an atime update -- as with svscan -- > > or a write access)? And that is NOT to be attached to a specific process > > (hint: strace is not an option). > > Problem: we'd have to do that using printk. printk issues another write > call, which will mark things dirty. Issued is another printk, which marks > things dirty and issues another printk... > > I suppose one write would become looped here? Been there done that :) I turned on debug output for jffs2 without changing klog/syslog to log to a remote machine. Did not take long for the machine to get unusable. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/