• Hitoshi Mitake's avatar
    Revert "perf record: Intercept all events" · a8e6f734
    Hitoshi Mitake authored
    This reverts commit f5a2c3dc.
    
    This patch is required for making "perf lock rec" work.
    The commit f5a2c3dc 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: default avatarIngo Molnar <mingo@elte.hu>
    a8e6f734
builtin-record.c 16.5 KB