Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled
From: Alexander Popov
Date: Sun Dec 11 2016 - 16:37:24 EST
On 11.12.2016 12:32, Dmitry Vyukov wrote:
> On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov <alex.popov@xxxxxxxxx> wrote:
>> Subtract KASLR offset from the kernel addresses reported by kcov.
>> Tested on x86_64 and AArch64 (Hikey LeMaker).
>> Signed-off-by: Alexander Popov <alex.popov@xxxxxxxxx>
>> kernel/kcov.c | 8 +++++++-
>> 1 file changed, 7 insertions(+), 1 deletion(-)
> I think generally this is the right thing to do.
> There are 2 pending patches for kcov by +Quentin (hopefully in mm):
> "kcov: add AFL-style tracing"
> "kcov: size of arena is now given in bytes"
> Your patch probably conflicts with them.
> Should you base them on top of these patches, so that Andrew can merge
> it without conflicts?
Excuse me, I can't find these patches in:
Could you point at the tree which I can rebase onto?
Should I cherry-pick Quentin's patches manually?