diff options
| author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-12-01 10:49:57 +0800 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-12-02 18:04:27 +1100 |
| commit | 5921eb36d2a1b276b16a24e529788550e6a65449 (patch) | |
| tree | 9abf8512f35222f7f0817447a18c5e997879ff1b /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | powerpc/64s/hash: add stress_hpt kernel boot option to increase hash faults (diff) | |
| download | linux-5921eb36d2a1b276b16a24e529788550e6a65449.tar.gz linux-5921eb36d2a1b276b16a24e529788550e6a65449.zip | |
selftests: powerpc: Use "grep -E" instead of "egrep"
The latest version of grep claims the egrep is now obsolete so the build
now contains warnings that look like:
egrep: warning: egrep is obsolescent; using grep -E
fix this using "grep -E" instead.
sed -i "s/egrep/grep -E/g" `grep egrep -rwl tools/testing/selftests/powerpc`
Here are the steps to install the latest grep:
wget http://ftp.gnu.org/gnu/grep/grep-3.8.tar.gz
tar xf grep-3.8.tar.gz
cd grep-3.8 && ./configure && make
sudo make install
export PATH=/usr/local/bin:$PATH
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1669862997-31335-1-git-send-email-yangtiezhu@loongson.cn
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
