diff options
| author | Ian Rogers <[email protected]> | 2021-06-17 18:42:13 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-06-19 13:06:46 +0000 |
| commit | 482698c2f848f9dee1a5bd949793c2fe6a71adc5 (patch) | |
| tree | 3aedfc9c88379dacf9d92b5a2b8a1bd1418fbabe /tools/bpf/bpftool/prog.c | |
| parent | perf machine: Fix refcount usage when processing PERF_RECORD_KSYMBOL (diff) | |
| download | kernel-482698c2f848f9dee1a5bd949793c2fe6a71adc5.tar.gz kernel-482698c2f848f9dee1a5bd949793c2fe6a71adc5.zip | |
perf test: Fix non-bash issue with stat bpf counters
$(( .. )) is a bash feature but the test's interpreter is !/bin/sh,
switch the code to use expr.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
