From hyoshiok @ miraclelinux.com Fri Mar 7 15:33:54 2003 From: hyoshiok @ miraclelinux.com (Hiro Yoshioka) Date: Fri, 07 Mar 2003 15:33:54 +0900 Subject: [Hardmeter-users] perfctr and Linus' tree? Message-ID: <20030307153354J.hyoshiok@miraclelinux.com> Hi, I have a question. Is there any progress on merging the perfctr patch to Linus' kernel tree? http://www.uwsg.iu.edu/hypermail/linux/kernel/0303.0/0647.html I found the DCL patch set includes the perfctr patch. http://lists.osdl.org/pipermail/dcl_developer/2003-March/000009.html Thanks in advance, Hiro From mikpe @ user.it.uu.se Fri Mar 7 22:30:16 2003 From: mikpe @ user.it.uu.se (Mikael Pettersson) Date: Fri, 7 Mar 2003 14:30:16 +0100 Subject: [Hardmeter-users] Re: [Perfctr-devel] perfctr and Linus' tree? In-Reply-To: <20030307153354J.hyoshiok@miraclelinux.com> References: <20030307153354J.hyoshiok@miraclelinux.com> Message-ID: <15976.40680.424597.305633@gargle.gargle.HOWL> Hiro Yoshioka writes: > I have a question. Is there any progress on merging the > perfctr patch to Linus' kernel tree? > > http://www.uwsg.iu.edu/hypermail/linux/kernel/0303.0/0647.html > > I found the DCL patch set includes the perfctr patch. > http://lists.osdl.org/pipermail/dcl_developer/2003-March/000009.html No progress since Linus totally ignored it, but at least two perfctr-patched trees exist. OSDL does one for the development kernel, and Jack Perdue has pre-patched RedHat kernel .rpms. (For Jack's stuff, check out PAPI -> Links -> Related Software.) I'm planning to simplify the kernel <--> user-space interface in perfctr-2.6 (drop /proc/pid/perfctr and go back to /dev/perfctr), and then I _think_ I can do a version that doesn't require patching kernel source. (It will do binary code patching at module load-time instead. Horrible as that sounds, it's easier to deal with for users.) /Mikael From hyoshiok @ miraclelinux.com Mon Mar 10 16:43:11 2003 From: hyoshiok @ miraclelinux.com (Hiro Yoshioka) Date: Mon, 10 Mar 2003 16:43:11 +0900 Subject: [Hardmeter-users] Re: [Perfctr-devel] perfctr and Linus' tree? In-Reply-To: <15976.40680.424597.305633@gargle.gargle.HOWL> References: <20030307153354J.hyoshiok@miraclelinux.com> <15976.40680.424597.305633@gargle.gargle.HOWL> Message-ID: <20030310164311N.hyoshiok@miraclelinux.com> From: Mikael Pettersson > Hiro Yoshioka writes: > > I have a question. Is there any progress on merging the > > perfctr patch to Linus' kernel tree? > > > > http://www.uwsg.iu.edu/hypermail/linux/kernel/0303.0/0647.html > > > > I found the DCL patch set includes the perfctr patch. > > http://lists.osdl.org/pipermail/dcl_developer/2003-March/000009.html > > No progress since Linus totally ignored it, but at least two > perfctr-patched trees exist. OSDL does one for the development > kernel, and Jack Perdue has pre-patched RedHat kernel .rpms. > (For Jack's stuff, check out PAPI -> Links -> Related Software.) > > I'm planning to simplify the kernel <--> user-space interface in > perfctr-2.6 (drop /proc/pid/perfctr and go back to /dev/perfctr), > and then I _think_ I can do a version that doesn't require patching > kernel source. (It will do binary code patching at module load-time > instead. Horrible as that sounds, it's easier to deal with for users.) I like /proc/pid/perfctr interface (virtual PMC mode). The following patch should be included into the main line kernel, shouldn't it? --- linux-2.5.62-perfctr/include/asm-i386/processor.h.~1~ 2003-02-18 02:06 :53.000000000 +0100 +++ linux-2.5.62-perfctr/include/asm-i386/processor.h 2003-02-18 02:18:36.0000 00000 +0100 @@ -372,6 +372,11 @@ unsigned long __cacheline_filler[5]; }; +/* + * Virtual per-process performance-monitoring counters. + */ +struct vperfctr; /* opaque; no need to depend on */ + struct thread_struct { /* cached TLS descriptors. */ struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; @@ -393,6 +398,8 @@ unsigned int saved_fs, saved_gs; /* IO permissions */ unsigned long *ts_io_bitmap; +/* performance counters */ + struct vperfctr *perfctr; }; #define INIT_THREAD { \ --------------------------------------------- I think a per process (thread) performance monitoring is very important. Thanks in advance, Hiro From hyoshiok @ miraclelinux.com Sat Mar 15 23:28:45 2003 From: hyoshiok @ miraclelinux.com (Hiro Yoshioka) Date: Sat, 15 Mar 2003 23:28:45 +0900 Subject: [Hardmeter-users] [announce] hardmeter 2003-0314 is released Message-ID: <20030315232845R.hyoshiok@miraclelinux.com> よしおかです。 hardmeter 2003-0314をリリースしました。 主な改良点は * perfctr 2.5.0 のサポート * 英語版の README.en/INSTALL.en を用意しました。 perfctr-2.5.0-pre1 はサポートしません。 よ -- Hiro Yoshioka/CTO, Miracle Linux mailto:hyoshiok @ miraclelinux.com http://www.miraclelinux.com 今月の目標:コードを書く From hyoshiok @ miraclelinux.com Sat Mar 15 23:30:16 2003 From: hyoshiok @ miraclelinux.com (Hiro Yoshioka) Date: Sat, 15 Mar 2003 23:30:16 +0900 Subject: [Hardmeter-users] [announce] 未踏事業の成果報告書 Message-ID: <20030315233016N.hyoshiok@miraclelinux.com> よしおかです。 2002年度「未踏ソフトウェア創造事業」の支援を受け 開発してまいりました、メモリプロファイリングツール の成果報告書を下記に公開いたします。 ご覧いただければ、幸いです。 皆様のコメント、ご意見、フィードバック等歓迎いたします。 http://hardmeter.sourceforge.jp/ipa.html プロジェクトのホームページ http://sourceforge.jp/projects/hardmeter また今回の公開を機会に下記のとおりインフォーマルな説明会を 開催いたしますので、奮ってご参加ください。 YLUG (横浜Linux Users' Group) で不定期に開催している カーネル読書会の番外編という位置付けでやります。 日時:2003年3月19日(水曜日)、19時ころから 内容: 1) 自己紹介など 2) メモリプロファイリングツール(よしおか) プロジェクトの目的、概要 設計と実装 デモ 未踏ソフトウェア創造事業とは何か? 3) ピザとビール(希望者割り勘、1000円未満の予定) 場所:OSDL Japan http://osdl.jp/contact_us.html 宴会コード: memoryprofiling http://utage.org/enkai/ で登録してください。 お早めに登録お願いします。 今回の成果報告書の公開と説明会の目的は、より多くの方に 未踏ソフトウェア創造事業を知っていただき、それにチャレンジ していただきたいからです。 本年度の公募も開始されました。 http://www.ipa.go.jp/NBP/15nendo/15mito/index.html ご意見、ご感想等ありましたらお聞かせください。 よ -- Hiro Yoshioka/CTO, Miracle Linux mailto:hyoshiok @ miraclelinux.com http://www.miraclelinux.com 今月の目標:コードを書く