• Frederic Weisbecker's avatar
    perf: Add kernel side syscall events support for breakpoints · f5ffe02e
    Frederic Weisbecker authored
    Add the remaining necessary bits to support breakpoints created
    through perf syscall.
    
    We don't use the software counter interface as:
    
    - We don't need to check against recursion, this is already done
      in hardware breakpoints arch level.
    
    - We already know the perf event we are dealing with when the
      event is to be committed.
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Prasad <prasad@linux.vnet.ibm.com>
    LKML-Reference: <1258987355-8751-3-git-send-email-fweisbec@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    f5ffe02e
perf_event.c 121 KB