• F
    perf: Don't use 4 bytes as a default instruction breakpoint length · aa59a485
    Frederic Weisbecker 提交于
    4 bytes is fine as a default access for data breakpoints. But
    instruction breakpoints should take the native pointer length,
    otherwise we get a -EINVAL in x86-64.
    Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Prasad <prasad@linux.vnet.ibm.com>
    Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    aa59a485
parse-events.c 21.0 KB