From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 05/10] AXFS: axfs_profiling.c Date: Fri, 22 Aug 2008 22:37:19 +0200 Message-ID: <200808222237.20346.arnd@arndb.de> References: <48AD00F8.1030004@gmail.com> <200808211339.37187.arnd@arndb.de> <6934efce0808210755n1977e085o63b8b91e84575dc9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: In-Reply-To: <6934efce0808210755n1977e085o63b8b91e84575dc9@mail.gmail.com> Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+gldm-linux-mtd-36=gmane.org@lists.infradead.org To: Jared Hulbert Cc: nickpiggin@yahoo.com.au, linux-embedded@vger.kernel.org, carsteno@de.ibm.com, =?utf-8?q?J=C3=B6rn?= Engel , Linux-kernel@vger.kernel.org, linux-mtd , tim.bird@am.sony.com, David Woodhouse T24gVGh1cnNkYXkgMjEgQXVndXN0IDIwMDgsIEphcmVkIEh1bGJlcnQgd3JvdGU6Cj4gMSkgc2Ft ZSBtb3VudCBwb2ludCAtCj4gSSBkb24ndCBzZWUgaG93IHRoaXMgd29ya3Mgd2l0aG91dCBhbiBp b2N0bC4gwqBJIGNhbid0IGp1c3QgbWFrZSB1cAo+IGZpbGVzIGluIG15IG1vdW50ZWQgZmlsZXN5 c3RlbS4gwqAgWW91IGV4cGVjdCB0aGUgbW91bnRlZCB2ZXJzaW9uIHRvCj4gbWF0Y2ggaW5wdXQg dG8gdGhlIG1rZnMuIMKgSSdkIG5vdCBiZSBoYXBweSB3aXRoIGFuIGlvY3RsLiDCoFlvdSBjYW4K PiBqdXN0IHJlYWQgaXQuCj4gCj4gMikgc3lzZnMgLQo+IEkgYWdyZWUgd2l0aCBDYXJzdGVuLCBJ IGRvbid0IHNlZSBob3cgdGhpcyBmaXRzIGluIHRoZSBzeXNmcyBoaWVyYXJjaHkuCj4gCj4gMykg ZGVidWdmcyAtCj4gSSBkb24ndCBrbm93IGRpZGRseSBhYm91dCB0aGlzLgoKT2ssIHNvIG5vdyB5 ZXQgYW5vdGhlciBzdWdnZXN0aW9uLCB3aGljaCBtYXkgc291bmQgYSBsaXR0bGUgc3RyYW5nZToK Cm9wcm9maWxlZnMKCkkgYmVsaWV2ZSB5b3UgY2FuIHVzZSB0aGUgb3Byb2ZpbGUgaW5mcmFzdHJ1 Y3R1cmUgdG8gcmVjb3JkIGRhdGEKYWJvdXQgZmlsZSBhY2Nlc3NlcywgZXZlbiBpbmRlcGVuZGVu dCBvZiB0aGUgZmlsZSBzeXN0ZW0geW91CmFyZSBsb29raW5nIGF0LgoKSXQncyBwcm9iYWJseSBh IGxvdCBvZiB3b3JrIHRvIGdldCBpdCByaWdodCwgYnV0IEkgd291bGQgYmUgd29ydGggaXQuCgoJ QXJuZCA8PjwKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fXwpMaW51eCBNVEQgZGlzY3Vzc2lvbiBtYWlsaW5nIGxpc3QKaHR0cDovL2xpc3RzLmlu ZnJhZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9saW51eC1tdGQvCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from moutng.kundenserver.de ([212.227.126.171]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1KWdO3-0002SZ-Sq for linux-mtd@lists.infradead.org; Fri, 22 Aug 2008 20:37:36 +0000 From: Arnd Bergmann To: "Jared Hulbert" Subject: Re: [PATCH 05/10] AXFS: axfs_profiling.c Date: Fri, 22 Aug 2008 22:37:19 +0200 References: <48AD00F8.1030004@gmail.com> <200808211339.37187.arnd@arndb.de> <6934efce0808210755n1977e085o63b8b91e84575dc9@mail.gmail.com> In-Reply-To: <6934efce0808210755n1977e085o63b8b91e84575dc9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200808222237.20346.arnd@arndb.de> Cc: nickpiggin@yahoo.com.au, linux-embedded@vger.kernel.org, carsteno@de.ibm.com, =?utf-8?q?J=C3=B6rn?= Engel , Linux-kernel@vger.kernel.org, linux-mtd , tim.bird@am.sony.com, David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thursday 21 August 2008, Jared Hulbert wrote: > 1) same mount point - > I don't see how this works without an ioctl. =C2=A0I can't just make up > files in my mounted filesystem. =C2=A0 You expect the mounted version to > match input to the mkfs. =C2=A0I'd not be happy with an ioctl. =C2=A0You = can > just read it. >=20 > 2) sysfs - > I agree with Carsten, I don't see how this fits in the sysfs hierarchy. >=20 > 3) debugfs - > I don't know diddly about this. Ok, so now yet another suggestion, which may sound a little strange: oprofilefs I believe you can use the oprofile infrastructure to record data about file accesses, even independent of the file system you are looking at. It's probably a lot of work to get it right, but I would be worth it. Arnd <>< From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758554AbYHVUiw (ORCPT ); Fri, 22 Aug 2008 16:38:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754912AbYHVUif (ORCPT ); Fri, 22 Aug 2008 16:38:35 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:62337 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755020AbYHVUid convert rfc822-to-8bit (ORCPT ); Fri, 22 Aug 2008 16:38:33 -0400 From: Arnd Bergmann To: "Jared Hulbert" Subject: Re: [PATCH 05/10] AXFS: axfs_profiling.c Date: Fri, 22 Aug 2008 22:37:19 +0200 User-Agent: KMail/1.9.9 Cc: "David Woodhouse" , carsteno@de.ibm.com, Linux-kernel@vger.kernel.org, linux-embedded@vger.kernel.org, linux-mtd , "=?utf-8?q?J=C3=B6rn?= Engel" , tim.bird@am.sony.com, nickpiggin@yahoo.com.au References: <48AD00F8.1030004@gmail.com> <200808211339.37187.arnd@arndb.de> <6934efce0808210755n1977e085o63b8b91e84575dc9@mail.gmail.com> In-Reply-To: <6934efce0808210755n1977e085o63b8b91e84575dc9@mail.gmail.com> X-Face: I@=L^?./?$U,EK.)V[4*>`zSqm0>65YtkOe>TFD'!aw?7OVv#~5xd\s,[~w]-J!)|%=]>=?utf-8?q?+=0A=09=7EohchhkRGW=3F=7C6=5FqTmkd=5Ft=3FLZC=23Q-=60=2E=60Y=2Ea=5E?= =?utf-8?q?3zb?=) =?utf-8?q?+U-JVN=5DWT=25cw=23=5BYo0=267C=26bL12wWGlZi=0A=09=7EJ=3B=5Cwg?= =?utf-8?q?=3B3zRnz?=,J"CT_)=\H'1/{?SR7GDu?WIopm.HaBG=QYj"NZD_[zrM\Gip^U MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200808222237.20346.arnd@arndb.de> X-Provags-ID: V01U2FsdGVkX1/Y3agoKghSIUlR8XjdfWe3rt10mlok2rToTk0 h3DL5WFxosWq6lbLo9UMOWUa2eJyDip94wZj+e5CPZD7ZYjyCV tWngfZ/y19LtR5U2/uyHA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 21 August 2008, Jared Hulbert wrote: > 1) same mount point - > I don't see how this works without an ioctl.  I can't just make up > files in my mounted filesystem.   You expect the mounted version to > match input to the mkfs.  I'd not be happy with an ioctl.  You can > just read it. > > 2) sysfs - > I agree with Carsten, I don't see how this fits in the sysfs hierarchy. > > 3) debugfs - > I don't know diddly about this. Ok, so now yet another suggestion, which may sound a little strange: oprofilefs I believe you can use the oprofile infrastructure to record data about file accesses, even independent of the file system you are looking at. It's probably a lot of work to get it right, but I would be worth it. Arnd <><