linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arun Sharma <asharma@fb.com>
To: linux-perf-users@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Using a new perf tool against an older kernel
Date: Wed, 22 Jun 2011 14:39:47 -0700	[thread overview]
Message-ID: <4E026123.4060208@fb.com> (raw)


I ran into a few strange issues today using a new perf tool (3.0-rcX) 
against a 2.6.38 based kernel. Basic things seem to work:

# perf record -aR -- sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.443 MB perf.data (~19334 samples) ]

But:

# perf record -agR -- sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 1.558 MB perf.data (~68077 samples) ]
Can't find id 9's machine
Found 1 unknown events!

Is this an older tool processing a perf.data file generated by a more 
recent tool?

If that is not the case, consider reporting to linux-kernel@vger.kernel.org.

I couldn't tell if this is kernel/user space incompatibility or tighter 
error checking in the new perf tool. Before I start digging further, 
thought I'd ask if this combination is supported. The error message 
above doesn't ask me:

Are you using an old kernel?

  -Arun

             reply	other threads:[~2011-06-22 21:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22 21:39 Arun Sharma [this message]
2011-06-23 14:22 ` Using a new perf tool against an older kernel David Ahern
2011-06-23 19:39   ` Arun Sharma
2011-06-23 20:02     ` David Ahern
2011-06-24  0:11       ` Frederic Weisbecker
2011-06-24  5:14         ` David Ahern
2011-06-24  0:11     ` Frederic Weisbecker
2011-06-24  0:43       ` Arun Sharma
2011-06-24  5:07         ` David Ahern

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=4E026123.4060208@fb.com \
    --to=asharma@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).