Re: [PATCH 3/4] perf inject --jit: Remove //anon mmap events

From: Andi Kleen
Date: Mon Sep 30 2019 - 22:20:36 EST


On Mon, Sep 30, 2019 at 08:49:00PM +0000, Steve MacLean wrote:
> SNIP
>
> > I can't apply this one:
>
> > patching file builtin-inject.c
> > Hunk #1 FAILED at 263.
> > 1 out of 1 hunk FAILED -- saving rejects to file builtin-inject.c.rej
>
> I assume this is because I based my patches on the wrong tip.
>
> > patching file util/jitdump.c
> > patch: **** malformed patch at line 236: btree, node);
>
> This doesn't make sense to me. The patch doesn't try to inject near line 236. There aren't 236 lines in the e-mail....

Most likely your mail client did line wrap.

See Documentation/process/email-clients.rst

-Andi