[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ze9iaape_1Du4oAa@x1>
Date: Mon, 11 Mar 2024 16:58:33 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Ian Rogers <irogers@...gle.com>
Cc: James Clark <james.clark@....com>, Arnd Bergmann <arnd@...db.de>,
Andrii Nakryiko <andrii@...nel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Martin KaFai Lau <martin.lau@...ux.dev>, Song Liu <song@...nel.org>,
Yonghong Song <yonghong.song@...ux.dev>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>, Stanislav Fomichev <sdf@...gle.com>,
Hao Luo <haoluo@...gle.com>, Jiri Olsa <jolsa@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>, Namhyung Kim <namhyung@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Paolo Bonzini <pbonzini@...hat.com>, Shuah Khan <shuah@...nel.org>,
Kees Cook <keescook@...omium.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Liam Howlett <liam.howlett@...cle.com>,
Miguel Ojeda <ojeda@...nel.org>, Will Deacon <will@...nel.org>,
Mark Brown <broonie@...nel.org>,
David Laight <David.Laight@...lab.com>,
"Michael S. Tsirkin" <mst@...hat.com>,
Shunsuke Mie <mie@...l.co.jp>, Yafang Shao <laoar.shao@...il.com>,
Kui-Feng Lee <kuifeng@...a.com>,
Nick Forrington <nick.forrington@....com>,
Leo Yan <leo.yan@...ux.dev>, German Gomez <german.gomez@....com>,
Rob Herring <robh@...nel.org>, John Garry <john.g.garry@...cle.com>,
Sean Christopherson <seanjc@...gle.com>,
Anup Patel <anup@...infault.org>, Fuad Tabba <tabba@...gle.com>,
Andrew Jones <ajones@...tanamicro.com>,
Chao Peng <chao.p.peng@...ux.intel.com>,
Haibo Xu <haibo1.xu@...el.com>, Peter Xu <peterx@...hat.com>,
Vishal Annapurve <vannapurve@...gle.com>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
bpf@...r.kernel.org, linux-perf-users@...r.kernel.org,
kvm@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-hardening@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH v1 12/13] tools headers: Sync compiler.h headers
On Mon, Mar 11, 2024 at 12:24:24PM -0700, Ian Rogers wrote:
> 5) headers we have just so we can use shell scripts to scrape
> constants for beautifying things in perf trace
> (5) feels like the headers should be alongside the shell scripts to
> avoid polluting tools/include.
> Not that I propose fixing any of this here.
Yeah, 5 is why we have things used just for scrapping in
tools/perf/trace/beauty/include/, that now has just socket.h, used by
⬢[acme@...lbox perf-tools-next]$ tools/perf/trace/beauty/socket.sh | head
static const char *socket_ipproto[] = {
[0] = "IP",
[1] = "ICMP",
[2] = "IGMP",
[4] = "IPIP",
[6] = "TCP",
[8] = "EGP",
[12] = "PUP",
[17] = "UDP",
[22] = "IDP",
⬢[acme@...lbox perf-tools-next]$
I'll see if I get a series moving things that are just for scrapping to
that directory, then test on the container build images I have.
- Arnaldo
Powered by blists - more mailing lists