[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180809135954.GA22636@redhat.com>
Date: Thu, 9 Aug 2018 15:59:55 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Jiri Olsa <jolsa@...nel.org>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
David Ahern <dsahern@...il.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Milind Chabbi <chabbi.milind@...il.com>,
Frederic Weisbecker <frederic@...nel.org>
Subject: Re: [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@...hat.com>
Powered by blists - more mailing lists