]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "perf record: Intercept all events"
authorHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Sat, 30 Jan 2010 11:55:41 +0000 (20:55 +0900)
committerIngo Molnar <mingo@elte.hu>
Sun, 31 Jan 2010 07:27:52 +0000 (08:27 +0100)
commitc81682c2a1c1bcaf52be2faf57e9fc7e26c058b9
tree4fc66912214ff92b387d079b3d7eac6a2495b4a7
parent4b60cf4b40e837207d31bf5d4f205d9b39e25de7
Revert "perf record: Intercept all events"

This reverts commit 4622b7a0e4408aea028ed7e2162b9bfa8e3c6041.

This patch is required for making "perf lock rec" work.
The commit 4622b7a0e4 changes write_event() of builtin-record.c
. And changed write_event() sometimes doesn't stop with perf
lock rec.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
[ that commit also causes perf record to not be Ctrl-C-able,
  and it's concetually wrong to parse the data at record time
  (unconditionally - even when not needed), as we eventually
  want to be able to do zero-copy recording, at least for
  non-archive recordings.  ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c