I've added a new stable package, trace-cmd -- this PKGBUILD has been updated to work with that one so they cleanly conflict/replace each other in pacman.
https://aur.archlinux.org/packages/trace-cmd/
Search Criteria
Package Details: trace-cmd-git 2.5.r13.g1788a44-1
Package Actions
| Package Base: | trace-cmd-git |
|---|---|
| Description: | user-space front-end command-line tool for Ftrace, inclduing the GUI interface application kernelshark as well as trace-graph and trace-view. |
| Upstream URL: | http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git |
| Category: | devel |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | None |
| Maintainer: | troyengel |
| Last Packager: | troyengel |
| Votes: | 9 |
| First Submitted: | 2011-04-01 16:13 |
| Last Updated: | 2015-01-30 15:20 |
Dependencies (7)
Required by (0)
Sources
Latest Comments
Comment by troyengel
Comment by troyengel
@masami - I adopted the package and fixed up the depends/makedepends and deprecated optdepends since both python2 and pygtk are actually required to build or run certain components. namcap is coming back clean now, a smoke test of trace-cmd and kernelshark seem to be all working as expected.
Comment by abbradar
I have my laptop in repairs for some 2.5 months already now, and it would still be there for some time. I'm not using Arch for now, so I'm disowning this; maybe I'll return to this package in future.
Comment by masami
According to trace-cmd-git's Makefile, it requires gtk2 to includes gtk/gtk.h. so please add gtk2 to makedepends line.
Comment by abbradar
Good, that was my patch ^_^. Updated.
Comment by mitch_feaster
The use-python2.patch is not needed as of 8435f519 upstream:
8435f5192d0d2a96b0f636768f348d00e4218300 HEAD origin/master master
Author: Nikolay Amiantov <nikoamia@gmail.com>
Date: Tue Feb 18 23:51:25 2014 +0400
trace-cmd: Use "python2" executable name
Here is my small patch that changes "python" to "python2" in trace-cmd in
some places; it is needed to build and run trace-cmd python parts on
systems where python3 is the main one, for example, Arch Linux. As far as I
know, all distributions have "python2" symlink so this should not break
anything.
Signed-off-by: Nikolay Amiantov <nikoamia@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Comment by mitch_feaster
==> Starting prepare()...
patching file Makefile
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file event-viewer.py
Reversed (or previously applied) patch detected! Assume -R? [n] y
Comment by abbradar
Updated this with VCS guidelines and added PREFIX and python2 fixes.
Comment by Siosm
To install binaries in the correct location you should use:
make prefix=/usr
make prefix=/usr gui
and:
make DESTDIR=$pkgdir prefix=/usr install
make DESTDIR=$pkgdir prefix=/usr install_gui
Comment by km3k
mlocate is also a dependency
Anonymous comment
for me, the python-based tools do not work with arch default python, but requires python2 instead.
sed -i.bak 's,python-config,python2-config,' Makefile
sed -i.bak '1s,python,python2,' *.py
Anonymous comment
Fixed.
Comment by thriqon
makepkg requires swig. diff for PKGBUILD:
10c10,11
< makedepends=('git')
---
> makedepends=('git'
> 'swig')