Re: [PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-13 Thread Jiri Olsa
On Tue, Mar 13, 2018 at 10:28:01AM +0100, Jiri Olsa wrote: > On Tue, Mar 13, 2018 at 07:37:47AM +0100, Ingo Molnar wrote: > > > > * Jiri Olsa wrote: > > > > > Jiri Olsa (7): > > > hw_breakpoint: Pass bp_type directly as find_slot_idx argument > > > hw_breakpoint:

Re: [PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-13 Thread Jiri Olsa
On Tue, Mar 13, 2018 at 10:28:01AM +0100, Jiri Olsa wrote: > On Tue, Mar 13, 2018 at 07:37:47AM +0100, Ingo Molnar wrote: > > > > * Jiri Olsa wrote: > > > > > Jiri Olsa (7): > > > hw_breakpoint: Pass bp_type directly as find_slot_idx argument > > > hw_breakpoint: Pass bp_type

Re: [PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-13 Thread Jiri Olsa
On Tue, Mar 13, 2018 at 07:37:47AM +0100, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > Jiri Olsa (7): > > hw_breakpoint: Pass bp_type directly as find_slot_idx argument > > hw_breakpoint: Pass bp_type argument to > > __reserve_bp_slot|__release_bp_slot > >

Re: [PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-13 Thread Jiri Olsa
On Tue, Mar 13, 2018 at 07:37:47AM +0100, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > Jiri Olsa (7): > > hw_breakpoint: Pass bp_type directly as find_slot_idx argument > > hw_breakpoint: Pass bp_type argument to > > __reserve_bp_slot|__release_bp_slot > > hw_breakpoint:

Re: [PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-13 Thread Ingo Molnar
* Jiri Olsa wrote: > Jiri Olsa (7): > hw_breakpoint: Pass bp_type directly as find_slot_idx argument > hw_breakpoint: Pass bp_type argument to > __reserve_bp_slot|__release_bp_slot > hw_breakpoint: Add modify_bp_slot function > hw_breakpoint: Factor

Re: [PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-13 Thread Ingo Molnar
* Jiri Olsa wrote: > Jiri Olsa (7): > hw_breakpoint: Pass bp_type directly as find_slot_idx argument > hw_breakpoint: Pass bp_type argument to > __reserve_bp_slot|__release_bp_slot > hw_breakpoint: Add modify_bp_slot function > hw_breakpoint: Factor out

[PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-12 Thread Jiri Olsa
hi, Milind Chabbi introduced new ioctl interface to change live breakpoint [1]. It allows to change its bp_addr, bp_len and bp_type throught new ioctl for perf breakpoint event. We already have a kernel interface for this via modify_user_hw_breakpoint function. This function however does not

[PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-12 Thread Jiri Olsa
hi, Milind Chabbi introduced new ioctl interface to change live breakpoint [1]. It allows to change its bp_addr, bp_len and bp_type throught new ioctl for perf breakpoint event. We already have a kernel interface for this via modify_user_hw_breakpoint function. This function however does not