Messages in this thread | | | Date | Fri, 20 Nov 2009 08:45:37 -0800 | From | Arjan van de Ven <> | Subject | Re: [PATCH] vfs: Add a trace point in the mark_inode_dirty function |
| |
On Fri, 20 Nov 2009 16:05:26 +0000 Jamie Lokier <jamie@shareable.org> wrote:
> Arjan van de Ven wrote: > > in my case it's not about finding the file, but finding the place in > > the application that is doing the writing. The last pathname > > component is more than enough for this.... > > So what you really need is the source file and line number in your > application where it does the writing :-)
while you present this as a joke.... perf can more or less do this using the backtrace infrastructure ...
-- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
| |