Revision c8b947642d2339ce74c6a1ce56726089539f48d9 authored by James Clark on 28 October 2021, 13:48:25 UTC, committed by Arnaldo Carvalho de Melo on 13 November 2021, 21:11:51 UTC
Currently the test skips with an error because == only works in bash:

  $ ./perf test 91 -v
  Couldn't bump rlimit(MEMLOCK), failures may take place when creating BPF maps, etc
  91: perf stat --bpf-counters test                                   :
  --- start ---
  test child forked, pid 44586
  ./tests/shell/stat_bpf_counters.sh: 26: [: -v: unexpected operator
  test child finished with -2
  ---- end ----
  perf stat --bpf-counters test: Skip

Changing == to = does the same thing, but doesn't result in an error:

  ./perf test 91 -v
  Couldn't bump rlimit(MEMLOCK), failures may take place when creating BPF maps, etc
  91: perf stat --bpf-counters test                                   :
  --- start ---
  test child forked, pid 45833
  Skipping: --bpf-counters not supported
    Error: unknown option `bpf-counters'
  [...]
  test child finished with -2
  ---- end ----
  perf stat --bpf-counters test: Skip

Signed-off-by: James Clark <james.clark@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: KP Singh <kpsingh@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: Sumanth Korikkar <sumanthk@linux.ibm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Yonghong Song <yhs@fb.com>
Cc: bpf@vger.kernel.org
Cc: netdev@vger.kernel.org
Link: https://lore.kernel.org/r/20211028134828.65774-2-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 88e4823
History
File Mode Size
bridge
dp-mst
rfc
afbc.rst -rw-r--r-- 7.3 KB
amdgpu-dc.rst -rw-r--r-- 2.2 KB
amdgpu.rst -rw-r--r-- 7.0 KB
backlight.rst -rw-r--r-- 247 bytes
driver-uapi.rst -rw-r--r-- 122 bytes
drivers.rst -rw-r--r-- 318 bytes
drm-client.rst -rw-r--r-- 295 bytes
drm-internals.rst -rw-r--r-- 7.6 KB
drm-kms-helpers.rst -rw-r--r-- 10.7 KB
drm-kms.rst -rw-r--r-- 17.9 KB
drm-mm.rst -rw-r--r-- 18.1 KB
drm-uapi.rst -rw-r--r-- 19.7 KB
i915.rst -rw-r--r-- 21.8 KB
index.rst -rw-r--r-- 388 bytes
introduction.rst -rw-r--r-- 5.3 KB
kms-properties.csv -rw-r--r-- 7.5 KB
komeda-kms.rst -rw-r--r-- 15.2 KB
mcde.rst -rw-r--r-- 287 bytes
meson.rst -rw-r--r-- 1.7 KB
msm-crash-dump.rst -rw-r--r-- 2.4 KB
pl111.rst -rw-r--r-- 261 bytes
tegra.rst -rw-r--r-- 7.2 KB
todo.rst -rw-r--r-- 25.8 KB
tve200.rst -rw-r--r-- 204 bytes
v3d.rst -rw-r--r-- 759 bytes
vc4.rst -rw-r--r-- 2.1 KB
vga-switcheroo.rst -rw-r--r-- 1.9 KB
vgaarbiter.rst -rw-r--r-- 8.0 KB
vkms.rst -rw-r--r-- 7.2 KB
xen-front.rst -rw-r--r-- 1010 bytes

back to top