All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo <arnaldo.melo@gmail.com>
To: Jiri Olsa <jolsa@redhat.com>,
	Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: "Arnaldo Carvalho de Melo" <acme@kernel.org>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Jiri Olsa" <jolsa@kernel.org>,
	"Michal Suchánek" <msuchanek@suse.de>,
	dwarves@vger.kernel.org, bpf <bpf@vger.kernel.org>,
	"Kernel Team" <kernel-team@fb.com>,
	"Michael Petlan" <mpetlan@redhat.com>
Subject: Re: [RFT] Testing 1.22
Date: Thu, 27 May 2021 18:57:31 -0300	[thread overview]
Message-ID: <337EEBAA-2ADD-4A46-BC6F-69FC38083668@gmail.com> (raw)
In-Reply-To: <YLAKUbjrdYio+ncV@krava>



On May 27, 2021 6:08:33 PM GMT-03:00, Jiri Olsa <jolsa@redhat.com> wrote:
>On Thu, May 27, 2021 at 01:41:13PM -0700, Andrii Nakryiko wrote:
>> On Thu, May 27, 2021 at 12:57 PM Arnaldo <arnaldo.melo@gmail.com>
>wrote:
>> >
>> >
>> >
>> > On May 27, 2021 4:14:17 PM GMT-03:00, Andrii Nakryiko
><andrii.nakryiko@gmail.com> wrote:
>> > >On Thu, May 27, 2021 at 12:06 PM Arnaldo <arnaldo.melo@gmail.com>
>> > >wrote:
>> > >>
>> > >>
>> > >>
>> > >> On May 27, 2021 1:54:40 PM GMT-03:00, Andrii Nakryiko
>> > ><andrii.nakryiko@gmail.com> wrote:
>> > >> >On Thu, May 27, 2021 at 8:20 AM Arnaldo Carvalho de Melo
>> > >> ><acme@kernel.org> wrote:
>> > >> >>
>> > >> >> Hi guys,
>> > >> >>
>> > >> >>         Its important to have 1.22 out of the door ASAP, so
>please
>> > >> >clone
>> > >> >> what is in tmp.master and report your results.
>> > >> >>
>> > >> >
>> > >> >Hey Arnaldo,
>> > >> >
>> > >> >If we are going to make pahole 1.22 a new mandatory minimal
>version
>> > >of
>> > >> >pahole, I think we should take a little bit of time and fix
>another
>> > >> >problematic issue and clean up Kbuild significantly.
>> > >> >
>> > >> >We discussed this before, it would be great to have an ability
>to
>> > >dump
>> > >> >generated BTF into a separate file instead of modifying vmlinux
>> > >image
>> > >> >in place. I'd say let's try to push for [0] to land as a
>temporary
>> > >> >work around to buy us a bit of time to implement this feature.
>Then,
>> > >> >when pahole 1.22 is released and packaged into major distros,
>we can
>> > >> >follow up in kernel with Kbuild clean ups and making pahole
>1.22
>> > >> >mandatory.
>> > >> >
>> > >> >What do you think? If anyone agrees, please consider chiming in
>on
>> > >the
>> > >> >above thread ([0]).
>> > >>
>> > >> There's multiple fixes that affects lots of stakeholders, so I'm
>more
>> > >inclined to release 1.22 sooner rather than later.
>> > >>
>> > >> If anyone has cycles right now to work on that detached BTF
>feature,
>> > >releasing 1.23 as soon as that feature is complete and tested
>shouldn't
>> > >be a problem.
>> > >>
>> > >> Then 1.23 the mandatory minimal version.
>> > >>
>> > >> Wdyt?
>> > >
>> > >If we make 1.22 mandatory there will be no good reason to make
>1.23
>> > >mandatory again. So I will have absolutely no inclination to work
>on
>> > >this, for example. So we are just wasting a chance to clean up the
>> > >Kbuild story w.r.t. pahole. And we are talking about just a few
>days
>> > >at most, while we do have a reasonable work around on the kernel
>side.
>> >
>> > So there were patches for stop using objcopy, which we thought
>could uncover some can of worms, were there patches for the detached
>BTF  file?
>> 
>> No, there weren't, if I remember correctly. What's the concern,
>> though? That detached BTF file isn't even an ELF, so it's
>> btf__get_raw_data() and write it to the file. Done.
>
>heya,
>I probably overlooked this, but are there more details about that
>detached BTF file feature somewhere? 


Look in the dwarves mailing list archives at lore, but it's just a new option to ask for the BTF data to be written to a file instead of to an ELF section, that will simplify the series of steps in the kernel building process.

I'll cook a patch early tomorrow.

- Arnaldo

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

  reply	other threads:[~2021-05-27 21:58 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 15:20 [RFT] Testing 1.22 Arnaldo Carvalho de Melo
2021-05-27 16:54 ` Andrii Nakryiko
2021-05-27 19:04   ` Arnaldo
2021-05-27 19:14     ` Andrii Nakryiko
2021-05-27 19:55       ` Arnaldo
2021-05-27 20:41         ` Andrii Nakryiko
2021-05-27 21:08           ` Jiri Olsa
2021-05-27 21:57             ` Arnaldo [this message]
2021-05-28 19:45           ` Arnaldo Carvalho de Melo
2021-05-29  2:36             ` Andrii Nakryiko
2021-06-01 18:31               ` Arnaldo Carvalho de Melo
2021-06-01 18:32                 ` Arnaldo Carvalho de Melo
2021-05-30  0:40             ` Andrii Nakryiko
2021-06-01 18:24               ` Arnaldo Carvalho de Melo
2021-06-03 14:57               ` Arnaldo Carvalho de Melo
2021-06-05  2:55                 ` Andrii Nakryiko
2021-06-07 13:20                   ` Parallelizing vmlinux BTF encoding. was " Arnaldo Carvalho de Melo
2021-06-07 15:42                     ` Yonghong Song
2021-06-08  0:53                     ` Andrii Nakryiko
2021-06-08 12:59                       ` Arnaldo Carvalho de Melo
2021-06-15 19:01                         ` Arnaldo Carvalho de Melo
2021-06-15 19:13                           ` Andrii Nakryiko
2021-06-15 19:38                             ` Arnaldo Carvalho de Melo
2021-06-15 20:05                               ` Andrii Nakryiko
2021-06-15 20:25                                 ` Arnaldo Carvalho de Melo
2021-06-15 21:26                                   ` Andrii Nakryiko
2021-05-30 21:45             ` Jiri Olsa
2021-06-01 19:07               ` Arnaldo Carvalho de Melo
2021-06-02 10:21 ` Michael Petlan
2021-07-15 21:31 ` Michal Suchánek
2021-07-16 13:25   ` Arnaldo Carvalho de Melo
2021-07-16 13:35     ` Luca Boccassi
2021-07-16 19:08       ` Luca Boccassi
     [not found]         ` <20210716201248.GL24916@kitsune.suse.cz>
2021-07-17 14:35           ` Luca Boccassi
2021-07-17 15:10             ` Michal Suchánek
2021-07-17 15:14               ` Luca Boccassi
2021-07-17 16:36                 ` Michal Suchánek
2021-07-17 16:39                   ` Luca Boccassi
2021-07-19 10:30                 ` Michal Suchánek
2021-07-19 10:34                   ` Luca Boccassi
2021-07-19 12:10     ` Luca Boccassi
2021-07-19 21:08       ` Arnaldo Carvalho de Melo
2021-07-28 10:53         ` Expected release date of v1.22 Deepak Kumar Mishra
2021-07-28 11:21           ` Greg KH

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=337EEBAA-2ADD-4A46-BC6F-69FC38083668@gmail.com \
    --to=arnaldo.melo@gmail.com \
    --cc=acme@kernel.org \
    --cc=andrii.nakryiko@gmail.com \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=dwarves@vger.kernel.org \
    --cc=jolsa@kernel.org \
    --cc=jolsa@redhat.com \
    --cc=kernel-team@fb.com \
    --cc=mpetlan@redhat.com \
    --cc=msuchanek@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.