linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Trouble parsing trace events
@ 2011-11-23  6:51 Arun Sharma
  2011-11-23  7:03 ` Andrew Vagin
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Sharma @ 2011-11-23  6:51 UTC (permalink / raw)
  To: linux-perf-users; +Cc: David Ahern, Andrew Vagin


I'm using a 3.2-rc1 based kernel and perf userspace built from 
tip/auto-latest (commit id e471db8) + Andrew Vagin's sleep profiling 
patches.

# perf record -agT -e sched:sched_switch -F 100 -- sleep 3
[ perf record: Woken up 9 times to write data ]
[ perf record: Captured and wrote 4.044 MB perf.data (~176664 samples) ]

# perf script
   Warning: Error: expected type 5 but read 4
   Warning: Error: expected type 4 but read 0
   Fatal: bad op token {

Is there a known incompatibility between kernel and userspace that could 
explain this?

I don't see this problem with other trace points (eg: kmem:kmalloc).

  -Arun

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

end of thread, other threads:[~2011-11-23  7:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-23  6:51 Trouble parsing trace events Arun Sharma
2011-11-23  7:03 ` Andrew Vagin
2011-11-23  7:14   ` Arun Sharma

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