From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([212.227.126.130]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XghJZ-0001qy-Dj for ptxdist@pengutronix.de; Tue, 21 Oct 2014 23:50:02 +0200 From: Alexander Dahl Date: Tue, 21 Oct 2014 23:49:14 +0200 Message-Id: <1413928155-14799-3-git-send-email-post@lespocky.de> In-Reply-To: <1413928155-14799-1-git-send-email-post@lespocky.de> References: <1413928155-14799-1-git-send-email-post@lespocky.de> Subject: [ptxdist] [PATCH 2/2] oprofile: targetinstall missing and additional binaries 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 'op-check-perfevents' is called by 'opcontrol' and 'oparchive' may be useful for easier examination. 'ocount' and 'operf' are only build if kernel headers are installed, but recommended to use with newer kernels and hardware supporting it. Signed-off-by: Alexander Dahl --- rules/oprofile.make | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rules/oprofile.make b/rules/oprofile.make index dabf5f8..f1e7589 100644 --- a/rules/oprofile.make +++ b/rules/oprofile.make @@ -58,10 +58,17 @@ $(STATEDIR)/oprofile.targetinstall: @$(call install_fixup, oprofile,AUTHOR,"Robert Schwebel ") @$(call install_fixup, oprofile,DESCRIPTION,missing) + @$(call install_copy, oprofile, 0, 0, 0755, -, /usr/bin/op-check-perfevents) @$(call install_copy, oprofile, 0, 0, 0755, -, /usr/bin/opcontrol) @$(call install_copy, oprofile, 0, 0, 0755, -, /usr/bin/ophelp) @$(call install_copy, oprofile, 0, 0, 0755, -, /usr/bin/opreport) @$(call install_copy, oprofile, 0, 0, 0755, -, /usr/bin/oprofiled) + @$(call install_copy, oprofile, 0, 0, 0755, -, /usr/bin/oparchive) + +ifdef PTXCONF_KERNEL_HEADER + @$(call install_copy, oprofile, 0, 0, 0755, -, /usr/bin/ocount) + @$(call install_copy, oprofile, 0, 0, 0755, -, /usr/bin/operf) +endif @$(call install_tree, oprofile, 0, 0, -, /usr/share/oprofile) -- 1.7.10.4 -- ptxdist mailing list ptxdist@pengutronix.de