]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace beauty: Fix generation of errno id->str table on ALT Linux
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 21 Jun 2022 15:34:37 +0000 (12:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 26 Jun 2022 15:32:55 +0000 (12:32 -0300)
commit9be66a4dcaa3497887e2316287f7bc08bdc13eb6
treefa5a08080041684c4aa86a068233743a15af5349
parent61b87a0c364d13cf005db72a31125d22fd8905a2
perf trace beauty: Fix generation of errno id->str table on ALT Linux

For some reason using:

         cat <<EoFuncBegin
  static const char *errno_to_name__$arch(int err)
  {
         switch (err) {
  EoFuncBegin

In tools/perf/trace/beauty/arch_errno_names.sh isn't working on ALT
Linux sisyphus (development version), which could be some distro
specific glitch, so just get this done in an alternative way that works
everywhere while giving notice to the people working on that distro to
try and figure our what really took place.

Cc: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/arch_errno_names.sh