lkml.org 
[lkml]   [2018]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/5] perf/hw_breakpoint: Remove superfluous bp->attr.disabled = 0
On 08/09, Jiri Olsa wrote:
>
> @@ -526,10 +526,9 @@ int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *att
> if (err)
> return err;
>
> - if (!attr->disabled) {
> + if (!attr->disabled)
> perf_event_enable(bp);
> - bp->attr.disabled = 0;
> - }

Acked-by: Oleg Nesterov <oleg@redhat.com>

\
 
 \ /
  Last update: 2018-08-09 16:00    [W:0.066 / U:10.508 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site