From:
Pavel Machek <pavel-AT-ucw.cz>
To:
acme-AT-redhat.com, kernel list <linux-kernel-AT-vger.kernel.org>
Subject:
Getting interrupt every million cache misses
Date:
2016年10月26日 22:54:16 +0200
Message-ID:
<20161026204748.GA11177@amd>
Cc:
peterz-AT-infradead.org, mingo-AT-redhat.com, alexander.shishkin-AT-linux.intel.com
Hi! I'd like to get an interrupt every million cache misses... to do a printk() or something like that. As far as I can tell, modern hardware should allow me to do that. AFAICT performance events subsystem can do something like that, but I can't figure out where the code is / what I should call. Can someone help? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo...