Linux Perf Users
 help / color / mirror / Atom feed
From: Florin Trofin <ftrofin@adobe.com>
To: linux-perf-users@vger.kernel.org
Subject: Multiple commands in perf 3.2.30 and 3.5.5 on Ubuntu 12 do not work
Date: Tue, 13 Nov 2012 23:01:18 +0000 (UTC)	[thread overview]
Message-ID: <loom.20121113T224335-737@post.gmane.org> (raw)

I mentioned in a previous post that "perf archive" command is not recognized on
Ubuntu 12.04 (perf version 3.2.30) although it is  listed in the --help output.
I wanted to see if the issue was fixed in a later version so I tried
Ubuntu 12.10 (perf version 3.5.5) and it has the same problems:
archive is not recognized as a valid command, and other commands fail as well:

$ perf timechart record sleep 2
invalid or unsupported event: 'power:cpu_frequency'
Run 'perf list' for a list of valid events

Another command that doesn't work:

$ perf lock record sleep 2
invalid or unsupported event: 'lock:lock_acquire'
Run 'perf list' for a list of valid events

This makes me think that either perf is mostly broken in the new versions
or something is wrong on my machine (although installation went smoothly).
I installed perf by doing:

$ sudo apt-get install linux-tools-common
$ sudo apt-get install linux-tools-3.5.0-17

Can somebody shed some light on this please?

TIA,

Florin

             reply	other threads:[~2012-11-13 23:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 23:01 Florin Trofin [this message]
2012-11-15  1:25 ` Multiple commands in perf 3.2.30 and 3.5.5 on Ubuntu 12 do not work Namhyung Kim

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=loom.20121113T224335-737@post.gmane.org \
    --to=ftrofin@adobe.com \
    --cc=linux-perf-users@vger.kernel.org \
    /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