Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #77696
| Path | csiph.com!1.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ian Rogers <irogers@google.com> |
| Newsgroups | linux.debian.kernel |
| Subject | Re: Getting the latest and greatest Linux perf features on every Debian kernel |
| Date | Fri, 23 Dec 2022 02:50:01 +0100 |
| Message-ID | <FFFm9-czPL-3@gated-at.bofh.it> (permalink) |
| References | <Diyo9-1Z8-3@gated-at.bofh.it> <DiGc2-6Bf-3@gated-at.bofh.it> <Dm762-1K4-9@gated-at.bofh.it> <DDQgq-6GA-5@gated-at.bofh.it> <DE8dk-Wk-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-kernel-request@lists.debian.org Fri Dec 23 01:44:34 2022 |
| Old-Return-Path | <irogers@google.com> |
| X-Amavis-Spam-Status | No, score=-14.701 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .google. - helo: .mail-vs1-xe2b.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| X-Gm-Message-State | AFqh2kqHRmzCrjC//R+tni72KXD0U8exVqwgrC5eOFfMbgh3ojbGxFyV yMLnD/ntpvdgODSSaD7lX35VAPyU0Ezau7MrsMNEqw== |
| X-Google-SMTP-Source | AMrXdXtBimHkucACeEf/XWeBaGpjfACaXJ5R4wcw7T3RKHQMTGeaiYL3M6kJn3T0HmvQyp9enrybQp/1tCRq2sx4PoA= |
| X-Received | by 2002:a05:6102:2929:b0:3b0:7e4d:ab4a with SMTP id cz41-20020a056102292900b003b07e4dab4amr1041844vsb.36.1671759847428; Thu, 22 Dec 2022 17:44:07 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailing-List | <debian-kernel@lists.debian.org> archive/latest/136836 |
| List-ID | <debian-kernel.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-kernel/> |
| List-Archive | https://lists.debian.org/msgid-search/CAP-5=fUzHV765DqcTZpqCKC1Ve1H91tUfoxQE7Z2KcK5yq021A@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 76 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-kernel@lists.debian.org, Arnaldo Carvalho de Melo <acme@kernel.org>, waldi@debian.org, linux-perf-users <linux-perf-users@vger.kernel.org>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org> |
| X-Original-Date | Thu, 22 Dec 2022 17:43:56 -0800 |
| X-Original-Message-ID | <CAP-5=fUzHV765DqcTZpqCKC1Ve1H91tUfoxQE7Z2KcK5yq021A@mail.gmail.com> |
| X-Original-References | <CAP-5=fW7La9ZNv8Z6LHRRNXne4+dWK6dR1ye2P=zETFELtK=fg@mail.gmail.com> <YY58idSor+lJ84KF@kernel.org> <CAP-5=fUczsXmo4xk2Yi=H6zUhmpixFaz9An=ixKotx=z0GOp0w@mail.gmail.com> <f59da80e6b4d053246fec4ef263ae4ca7aa1277f.camel@decadent.org.uk> <Ydx+mtl1c7L/bbGJ@kernel.org> |
| Xref | csiph.com linux.debian.kernel:77696 |
Show key headers only | View raw
So I wanted to say a BIG thanks to Ben as I see in the 5.16 changelog
that the perf wrapper script for Debian is now gone!
https://metadata.ftp-master.debian.org/changelogs//main/l/linux/linux_6.1~rc8-1~exp1_changelog
```
linux (5.16.3-1~exp1) experimental; urgency=medium
...
* linux-perf: Build a single unversioned package of perf, as it is no
longer necessary to match the kernel version
```
I notice from trying the experimental version the features are:
```
perf version 6.1.0-rc8
dwarf: [ on ] # HAVE_DWARF_SUPPORT
dwarf_getlocations: [ on ] # HAVE_DWARF_GETLOCATIONS_SUPPORT
glibc: [ on ] # HAVE_GLIBC_SUPPORT
syscall_table: [ on ] # HAVE_SYSCALL_TABLE_SUPPORT
libbfd: [ OFF ] # HAVE_LIBBFD_SUPPORT
debuginfod: [ OFF ] # HAVE_DEBUGINFOD_SUPPORT
libelf: [ on ] # HAVE_LIBELF_SUPPORT
libnuma: [ on ] # HAVE_LIBNUMA_SUPPORT
numa_num_possible_cpus: [ on ] # HAVE_LIBNUMA_SUPPORT
libperl: [ on ] # HAVE_LIBPERL_SUPPORT
libpython: [ on ] # HAVE_LIBPYTHON_SUPPORT
libslang: [ on ] # HAVE_SLANG_SUPPORT
libcrypto: [ OFF ] # HAVE_LIBCRYPTO_SUPPORT
libunwind: [ on ] # HAVE_LIBUNWIND_SUPPORT
libdw-dwarf-unwind: [ on ] # HAVE_DWARF_SUPPORT
zlib: [ on ] # HAVE_ZLIB_SUPPORT
lzma: [ on ] # HAVE_LZMA_SUPPORT
get_cpuid: [ on ] # HAVE_AUXTRACE_SUPPORT
bpf: [ on ] # HAVE_LIBBPF_SUPPORT
aio: [ on ] # HAVE_AIO_SUPPORT
zstd: [ OFF ] # HAVE_ZSTD_SUPPORT
libpfm4: [ OFF ] # HAVE_LIBPFM
```
I believe this is a step up as previously libpython was disabled.
I had a few things to ask wrt this thread and getting the best
possible Debian experience:
- in Linux 6.2 the libtraceevent will need to become an external
library dependency
- are there issues with debuginfod/zstd enablement? libbfd has
licensing issues. libcrypto is only used by the JIT support, but still
may be nice to enable.
- wrt packaging, the kernel has a deb-pkg build target, should we move
the debian packaging to something like a perf-deb-pkg similar to the
perf-tar-src-pkg target? This thread was previously proposing using
the source releases Arnaldo makes, this would be possible for a
deb-pkg target if the logic were contained in the source tar ball. I
believe what is currently being built is from a kernel tree, but
perhaps a build target adds consistency with the kernel, allows
contributors to update the Debian related files and serves as an
example for similar packaging of other kernel tools, like bpftool.
- are there some residual wrapper artifacts in the package, for example:
```
$ dpkg -L linux-perf
/.
/usr
/usr/bin
/usr/bin/perf
package diverts others to: /usr/bin/perf.wrapper
...
package diverts others to: /usr/share/bash-completion/completions/perf.wrapper
...
package diverts others to: /usr/share/man/man1/perf.wrapper.1.gz
...
```
Another BIG thank you to Ben!
Ian
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting the latest and greatest Linux perf features on every Debian kernel Ian Rogers <irogers@google.com> - 2021-11-12 07:40 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Arnaldo Carvalho de Melo <acme@kernel.org> - 2021-11-12 16:00 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Ian Rogers <irogers@google.com> - 2021-11-22 03:20 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Ian Rogers <irogers@google.com> - 2021-11-22 18:00 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Ben Hutchings <ben@decadent.org.uk> - 2022-01-10 01:00 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Arnaldo Carvalho de Melo <acme@kernel.org> - 2022-01-10 20:10 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Ian Rogers <irogers@google.com> - 2022-12-23 02:50 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Andi Kleen <ak@linux.intel.com> - 2022-12-25 13:20 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Ben Hutchings <ben@decadent.org.uk> - 2022-12-26 21:00 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Ian Rogers <irogers@google.com> - 2023-01-10 02:40 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Ben Hutchings <ben@decadent.org.uk> - 2023-01-13 23:10 +0100
Re: Getting the latest and greatest Linux perf features on every Debian kernel Ben Hutchings <ben@decadent.org.uk> - 2022-01-10 01:00 +0100
csiph-web