Re: [PATCH v2] btrace: kernel address filtering

Pedro Alves
2015-09-08T15:21:53Z

On 09/08/2015 03:43 PM, Markus Metzger wrote:

> gdb/
> * nat/linux-btrace.h (struct btrace_target_info) <ptr_bits>: Remove.
> * nat/linux-btrace.c: Include filestuff.h and inttypes.h.
> Remove include of sys/utsname.h.
> (linux_determine_kernel_ptr_bits): Remove.
> (linux_determine_kernel_start): New.
> (perf_event_is_kernel_addr): Remove tinfo argument. Update users.
> Update check.
> (perf_event_skip_bts_record): Remove tinfo argument. Update users.
> (linux_enable_bts, linux_enable_pt): Remove tinfo->ptr_bits
> initialization.
> * x86-linux-nat.c (x86_linux_enable_btrace): Remove ptr_bits
> assignment.
>
> gdbserver/
> * linux-low.c (linux_low_enable_btrace): Remove.
> (linux_target_ops): Replace linux_low_enable_btrace with
> linux_enable_btrace.

LGTM.

Thanks,
Pedro Alves