[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170726074947.qynkabkdpfmcjj2l@hirez.programming.kicks-ass.net>
Date: Wed, 26 Jul 2017 09:49:48 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Pratyush Anand <panand@...hat.com>
Cc: Will Deacon <will.deacon@....com>, mark.rutland@....com,
linux-arm-kernel@...ts.infradead.org,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
huawei.libin@...wei.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2 1/4] hw_breakpoint: Add step_needed event attribute
On Wed, Jul 26, 2017 at 11:12:03AM +0530, Pratyush Anand wrote:
> I too had thought to put it under include/linux/perf_event.h : struct
> perf_event. But, see hw_break_module_init() which does not have knowledge of
> this structure, and we need to have some way so that none-perf kernel module
> implementation can tell that it needs default arch step handler.
>
> Do you see any alternative?
Fix the hw_breakpoint interface?
Powered by blists - more mailing lists