From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/2] oprofile: targetinstall missing and additional binaries
Date: Tue, 21 Oct 2014 23:49:14 +0200 [thread overview]
Message-ID: <1413928155-14799-3-git-send-email-post@lespocky.de> (raw)
In-Reply-To: <1413928155-14799-1-git-send-email-post@lespocky.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 <post@lespocky.de>
---
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 <r.schwebel@pengutronix.de>")
@$(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
next prev parent reply other threads:[~2014-10-21 21:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 21:49 [ptxdist] oprofile: 2 patches Alexander Dahl
2014-10-21 21:49 ` [ptxdist] [PATCH 1/2] oprofile: fix kernel header path Alexander Dahl
2014-10-21 21:49 ` Alexander Dahl [this message]
2014-11-13 16:44 ` [ptxdist] oprofile: 2 patches Michael Olbrich
2014-11-14 10:06 ` Alexander Dahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1413928155-14799-3-git-send-email-post@lespocky.de \
--to=post@lespocky.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox