Re: [PATCH v3 3/5] perf: Allow adding fixed random jitter to the alternate sampling period
From: Peter Zijlstra
Date: Wed Mar 12 2025 - 06:46:11 EST
On Tue, Mar 11, 2025 at 12:35:30PM +0100, Peter Zijlstra wrote:
> On Tue, Mar 11, 2025 at 12:31:29PM +0100, Peter Zijlstra wrote:
> > diff --git a/kernel/events/core.c b/kernel/events/core.c
> > index b87a5ac42ce2..e5a93edf3b5f 100644
> > --- a/kernel/events/core.c
> > +++ b/kernel/events/core.c
> > @@ -8,6 +8,7 @@
> > * Copyright © 2009 Paul Mackerras, IBM Corp. <paulus@xxxxxxxxxxx>
> > */
> >
> > +#include "linux/random.h"
> > #include <linux/fs.h>
> > #include <linux/mm.h>
> > #include <linux/cpu.h>
>
> Argh, this is neovim trying to be 'helpful'. If anybody reading this
> knows how to make it stop adding headers, please let me know, its
> driving me nuts.
Adding this cmd thing to the lspconfig like so:
require 'lspconfig'.clangd.setup() {
cmd = {
"clangd",
"--header-insertion=never",
},
}
seems to do the trick.