Re: [PATCH 0/2] kbuild: rpm-pkg: improve debuggability

Steven Rostedt
2025-03-04T03:46:53Z

On Mon, 24 Feb 2025 15:17:49 -0700
Uday Shankar <ushankar@purestorage.com> wrote:

> On Mon, Feb 24, 2025 at 05:07:09PM -0500, Steven Rostedt wrote:
> > On Mon, 24 Feb 2025 12:35:00 -0700
> > Uday Shankar <ushankar@purestorage.com> wrote:
> >
> > > On Mon, Feb 17, 2025 at 07:27:06PM -0700, Uday Shankar wrote:
> > > > ping
> > >
> > > ping again
> >
> > Do you just package it, or do you actually use it?
>
> Are you talking about the two scripts whose shebangs I modified in patch
> 1? Those scripts aren't used by the build process, they're just packaged
> in kernel-devel by the following command
>
> %{make} %{makeflags} run-command KBUILD_RUN_COMMAND='${srctree}/scripts/package/install-extmod-build %{buildroot}/usr/src/kernels/%{KERNELRELEASE}'
>
> Presumably those scripts are important to users of kernel-devel, which
> is supposed to "provide kernel headers and makefiles sufficient to build
> modules against the ... kernel." Though looking closer at these scripts,
> they look like they're probably extraneous for that purpose.

Sorry, I missed your reply here.

I'm asking if anyone uses draw_functrace.py or if it can simply be deleted.

The rest of the changes are for the build maintainer not me.

-- Steve