Package Details: trace-cmd-git 2.5.r13.g1788a44-1

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: GPL2
Conflicts: trace-cmd
Provides: trace-cmd
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

2015-01-30 15:22

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/

Comment by troyengel

2015-01-02 16:25

@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

2014-11-19 18:19

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

2014-11-15 16:17

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

2014-04-02 17:41

Good, that was my patch ^_^. Updated.

Comment by mitch_feaster

2014-04-01 20:25

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

2014-04-01 20:21

==> 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

2014-02-18 19:54

Updated this with VCS guidelines and added PREFIX and python2 fixes.

Comment by Siosm

2012-03-09 15:56

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

2012-02-23 19:09

mlocate is also a dependency

Anonymous comment

2011-08-25 21:27

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

2011-04-19 13:59

Fixed.

Comment by thriqon

2011-04-16 14:21

makepkg requires swig. diff for PKGBUILD:

10c10,11
< makedepends=('git')
---
> makedepends=('git'
> 'swig')