From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([212.227.126.131]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XghJ6-0001qM-Ob for ptxdist@pengutronix.de; Tue, 21 Oct 2014 23:49:33 +0200 Received: from tiffy.lespocky.dyndns.org ([10.182.63.198]) by idefix.lespocky.dyndns.org with esmtpa (Exim 4.82) (envelope-from ) id 1XghIs-0001l4-RO for ptxdist@pengutronix.de; Tue, 21 Oct 2014 23:49:26 +0200 From: Alexander Dahl Date: Tue, 21 Oct 2014 23:49:12 +0200 Message-Id: <1413928155-14799-1-git-send-email-post@lespocky.de> Subject: [ptxdist] oprofile: 2 patches Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hei hei, I use oprofile today on at91sam9 which is armv5te and came cross some things. First is the kernel header path. In the previous version oprofile added an additional "include" to the path so it could not find the kernel headers. I made this dependent on the kernel-header config, one could also just fix the path. The second patch contains one important fix for an executable called by opcontrol, see the comment on the patch. The other one is open for comments. Upstream dropped support for the legacy tools and recommends usage of operf and ocount so I added it in one patch. Greets Alex -- ptxdist mailing list ptxdist@pengutronix.de