linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf record: mmap fails when specifying process/thread
@ 2011-02-16 15:43 David Ahern
  2011-02-16 23:53 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: David Ahern @ 2011-02-16 15:43 UTC (permalink / raw)
  To: linux-perf-users

Latest perf-core (pulled 5 minutes ago):

# ps -C sshd
  PID TTY          TIME CMD
  961 ?        00:00:00 sshd
 1042 ?        00:00:00 sshd

# /tmp/build-perf/perf record -v -fo/tmp/perf.data -p 1042
  Warning:  ... trying to fall back to cpu-clock-ticks

  Fatal: failed to mmap with 22 (Invalid argument)


It works fine with -a argument and when a command is given, but fails
with the -p or -t argument.

David

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-17  0:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 15:43 perf record: mmap fails when specifying process/thread David Ahern
2011-02-16 23:53 ` Arnaldo Carvalho de Melo
2011-02-17  0:01   ` David Ahern

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).