On 10/22/12 8:45 AM, Arnaldo Carvalho de Melo wrote:

To add to Arnaldo's instructions, here's how to get a copy of his tree:

mkdir perf.git
cd perf.git

git init
git add remote acme git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
git remote update

git checkout remotes/acme/perf/core
mkdir /tmp/pbuild
make -C tools/perf  O=/tmp/pbuild
/tmp/pbuild/perf top -z

To try out a different version:
git checkout v3.0
make -C tools/perf

or v3.2, v3.4, etc.

Building perf is fairly quick and you do not have to install them -- just run the built binary.


To build just the tools, on a /usr/src/linux or wherever you have the
newer kernel sources:

  make -C tools/perf install

Then make sure you use what is in your ~/bin/ before the standard path:

  export PATH=~/bin:$PATH
  hash -r

Then try perf top -z again.

- Arnaldo


--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to