From: Juri Lelli <juri.lelli@redhat.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: mingo@redhat.com, vincent.guittot@linaro.org,
dietmar.eggemann@arm.com, rostedt@goodmis.org,
bsegall@google.com, mgorman@suse.de, vschneid@redhat.com,
rafael@kernel.org, viresh.kumar@linaro.org,
mathieu.desnoyers@efficios.com, paulmck@kernel.org,
hannes@cmpxchg.org, surenb@google.com,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
tj@kernel.org
Subject: Re: [PATCH] sched: Make clangd usable
Date: Mon, 26 May 2025 16:49:42 +0200 [thread overview]
Message-ID: <aDR_hptEDqSxf112@jlelli-thinkpadt14gen4.remote.csb> (raw)
In-Reply-To: <20250523164348.GN39944@noisy.programming.kicks-ass.net>
Hi,
On 23/05/25 18:43, Peter Zijlstra wrote:
>
> Due to the weird Makefile setup of sched the various files do not
> compile as stand alone units. The new generation of editors are trying
> to do just this -- mostly to offer fancy things like completions but
> also better syntax highlighting and code navigation.
>
> Specifically, I've been playing around with neovim and clangd.
Me too very recently. :)
> Setting up clangd on the kernel source is a giant pain in the arse
> (this really should be improved), but once you do manage, you run into
> dumb stuff like the above.
>
> Fix up the scheduler files to at least pretend to work.
>
> (this excludes ext because those include games are worse than average)
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
This indeed works for me as well. Thanks!
Tested-by: Juri Lelli <juri.lelli@redhat.com>
Best,
Juri
prev parent reply other threads:[~2025-05-26 14:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-23 16:43 [PATCH] sched: Make clangd usable Peter Zijlstra
2025-05-23 16:48 ` Tejun Heo
2025-05-23 18:19 ` Tejun Heo
2025-05-23 21:02 ` Andrea Righi
2025-05-23 16:49 ` Peter Zijlstra
2025-05-23 18:09 ` Steven Rostedt
2025-05-26 7:41 ` Peter Zijlstra
2025-05-26 8:11 ` Ingo Molnar
2025-05-26 8:59 ` Peter Zijlstra
2025-05-26 9:04 ` Peter Zijlstra
2025-05-26 11:44 ` Peter Zijlstra
2025-05-26 14:49 ` Juri Lelli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aDR_hptEDqSxf112@jlelli-thinkpadt14gen4.remote.csb \
--to=juri.lelli@redhat.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=paulmck@kernel.org \
--cc=peterz@infradead.org \
--cc=rafael@kernel.org \
--cc=rostedt@goodmis.org \
--cc=surenb@google.com \
--cc=tj@kernel.org \
--cc=vincent.guittot@linaro.org \
--cc=viresh.kumar@linaro.org \
--cc=vschneid@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox