On Mon, May 6, 2024 at 12:10 PM Jose E. Marchesi <jose.marchesi@xxxxxxxxxx> wrote: > > > > On Sat, 2024-05-04 at 23:09 +0200, Jose E. Marchesi wrote: > > > > [...] > > > >> I have sent a tentative patch that adds the `record_attrs_str' > >> configuration parameter to the btf_dump_opts, incorporating a few > >> changes after Eduard's suggestions regarding avoiding double negations > >> and docstrings. > > > > [...] > > > >> I am not familiar with the particular use cases, but generally speaking > >> separating sorting and emission makes sense to me. I would also prefer > >> that to iterators. > > > > Hi Jose, > > > > I've discussed this issue with Andrii today, > > and we decided that we want to proceed with API changes, > > that introduce two functions: one for sorting ids, > > one for printing single type. > > > > I can do this change on Tue or Wed, if that is ok with you. > > Sure, thank you. For now, for GCC-BPF-specific case we can add -DBPF_NO_PRESERVE_ACCESS_INDEX in Makefile, if that's blocking GCC-BPF effort.