Re: [PATCH] vfs: Add a trace point in the mark_inode_dirty function

From: Arjan van de Ven
Date: Wed Nov 11 2009 - 01:33:39 EST


On Wed, 11 Nov 2009 10:01:08 +0800
Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote:

> Hi Arjan,
>
> > + TP_printk("task=%i (%s) file=%s dev=%s",
> > + __entry->pid, __entry->comm, __entry->file,
> > __entry->dev)
>
> Maybe this is enough for POWERTOP, however for general use, the dirty
> type(data/metadata) and inode number may be valuable to some users?

what can a user do with an inode number????

--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/