public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Re: How to find out, what "pdflush" is working on
       [not found] ` <48D003F1.50101@redhat.com>
@ 2008-09-26 21:26   ` Frank Ch. Eigler
  0 siblings, 0 replies; only message in thread
From: Frank Ch. Eigler @ 2008-09-26 21:26 UTC (permalink / raw)
  To: Chris Snook
  Cc: Martin Knoblauch, linux-kernel, Peter zijlstra, Fengguang Wu, systemtap


> [...]
>> Is there a way to find out what a certain instance of "pdflush" is
>> working on? Like which block-device or which fliesystem it is
>> writing to? [...]

Something based upon the following systemtap script may help:

probe kernel.function("__writeback_single_inode") {
  if (execname() == "pdflush")
     printf("pdflush %d writeback bdev %x inode %x\n", tid(), $inode->i_rdev, $inode->i_ino) 
}

Other fields are available as $inode->FOO.

- FChE

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-26 21:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <849662.25086.qm@web32602.mail.mud.yahoo.com>
     [not found] ` <48D003F1.50101@redhat.com>
2008-09-26 21:26   ` How to find out, what "pdflush" is working on Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).