dwarves.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kui-Feng Lee <kuifeng@fb.com>
To: "acme@kernel.org" <acme@kernel.org>,
	"andrii.nakryiko@gmail.com" <andrii.nakryiko@gmail.com>
Cc: "daniel@iogearbox.net" <daniel@iogearbox.net>,
	"ast@kernel.org" <ast@kernel.org>,
	"arnaldo.melo@gmail.com" <arnaldo.melo@gmail.com>,
	"andrii@kernel.org" <andrii@kernel.org>,
	"dwarves@vger.kernel.org" <dwarves@vger.kernel.org>,
	"bpf@vger.kernel.org" <bpf@vger.kernel.org>
Subject: Re: [PATCH dwarves v4 1/4] dwarf_loader: Receive per-thread data on worker threads.
Date: Mon, 21 Mar 2022 19:06:06 +0000	[thread overview]
Message-ID: <c9c436a6935bb39e4135d4f0d7efd1ecc49d660b.camel@fb.com> (raw)
In-Reply-To: <CAEf4BzYxOgNjC+nFJGY_wpnOZZ-Jik=15L0aSq3Uxbiamc0h+w@mail.gmail.com>

On Wed, 2022-03-09 at 16:18 -0800, Andrii Nakryiko wrote:
> On Wed, Mar 9, 2022 at 4:14 PM Andrii Nakryiko
> <andrii.nakryiko@gmail.com> wrote:
> > 
> > On Wed, Mar 9, 2022 at 11:24 AM Arnaldo Carvalho de Melo
> > <acme@kernel.org> wrote:
> > > 
> > > Em Tue, Mar 08, 2022 at 03:45:03PM -0800, Andrii Nakryiko
> > > escreveu:
> > > > On Thu, Jan 27, 2022 at 11:22 AM Arnaldo Carvalho de Melo
> > > > <arnaldo.melo@gmail.com> wrote:
> > > > > 
> > > > > Em Wed, Jan 26, 2022 at 11:55:25AM -0800, Andrii Nakryiko
> > > > > escreveu:
> > > > > > On Wed, Jan 26, 2022 at 11:20 AM Kui-Feng Lee
> > > > > > <kuifeng@fb.com> wrote:
> > > > > > > 
> > > > > > > Add arguments to steal and thread_exit callbacks of
> > > > > > > conf_load to
> > > > > > > receive per-thread data.
> > > > > > > 
> > > > > > > Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
> > > > > > > ---
> > > > > > 
> > > > > > Please carry over acks you got on previous revisions,
> > > > > > unless you did
> > > > > > some drastic changes to already acked patches.
> > > > > 
> > > > > Yes, please do so.
> > > > > 
> > > > > I'll collect them this time, no need to resend.
> > > > > 
> > > > 
> > > > Hey, Arnaldo!
> > > > 
> > > > Any idea when these patches will make it into master branch? I
> > > > see
> > > > they are in tmp.master right now.
> > > 
> > > I did some minor fixups to the cset comment and to the code in
> > > the
> > > 'pahole --compile' new feature at the head of it and pushed all
> > > up,
> > > please check.
> > > 
> > 
> > I did check locally with latest pahole master, and it seems like
> > something is wrong with generated BTF. I get three selftests
> > failure
> > if I use latest pahole compiled from master.
> > 
> > Kui-Feng, please take a look when you get a chance. Arnaldo, please
> > hold off from releasing a new version for now.

I just figure out the root cuase.
It caused by missing info from percpu_secinfo when collecting data from
threads.  The encoder stores it separatedly from struct btf, and we
have separated different encoders for threads.  They are not merged
together.  I will fixed it ASAP.


  reply	other threads:[~2022-03-21 19:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26 19:20 [PATCH dwarves v4 0/4] Parallelize BTF type info generating of pahole Kui-Feng Lee
2022-01-26 19:20 ` [PATCH dwarves v4 1/4] dwarf_loader: Receive per-thread data on worker threads Kui-Feng Lee
2022-01-26 19:55   ` Andrii Nakryiko
2022-01-26 20:14     ` Kui-Feng Lee
2022-01-27 10:05     ` Arnaldo Carvalho de Melo
2022-03-08 23:45       ` Andrii Nakryiko
2022-03-09 19:24         ` Arnaldo Carvalho de Melo
2022-03-10  0:14           ` Andrii Nakryiko
2022-03-10  0:18             ` Andrii Nakryiko
2022-03-21 19:06               ` Kui-Feng Lee [this message]
2022-03-21 21:08                 ` Arnaldo Carvalho de Melo
2022-03-14 15:38             ` Arnaldo Carvalho de Melo
2022-03-14 15:43               ` Arnaldo Carvalho de Melo
2022-01-26 19:20 ` [PATCH dwarves v4 2/4] dwarf_loader: Prepare and pass per-thread data to " Kui-Feng Lee
2022-01-26 19:55   ` Andrii Nakryiko
2022-01-26 19:20 ` [PATCH dwarves v4 3/4] pahole: Use per-thread btf instances to avoid mutex locking Kui-Feng Lee
2022-01-26 19:58   ` Andrii Nakryiko
2022-01-26 20:57     ` Kui-Feng Lee
2022-01-27 10:05     ` Arnaldo Carvalho de Melo
2022-01-27 20:12     ` Arnaldo Carvalho de Melo
2022-01-28 19:50       ` Arnaldo Carvalho de Melo
2022-02-01  6:56         ` Andrii Nakryiko
2022-02-02  0:16           ` Arnaldo Carvalho de Melo
2022-01-26 19:20 ` [PATCH dwarves v4 4/4] libbpf: Update libbpf to a new revision Kui-Feng Lee
2022-01-26 19:59   ` Andrii Nakryiko

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=c9c436a6935bb39e4135d4f0d7efd1ecc49d660b.camel@fb.com \
    --to=kuifeng@fb.com \
    --cc=acme@kernel.org \
    --cc=andrii.nakryiko@gmail.com \
    --cc=andrii@kernel.org \
    --cc=arnaldo.melo@gmail.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=dwarves@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).