diff options
author | Schspa Shi <[email protected]> | 2022-04-29 14:37:57 -0700 |
---|---|---|
committer | akpm <[email protected]> | 2022-04-29 14:37:57 -0700 |
commit | 3af8acf6aff2a98731522b52927429760f0b8006 (patch) | |
tree | 8025756eaa7a0557fb891f8acb7f3878c89ba7d6 /scripts/bpf_doc.py | |
parent | bd7155a0282e2f4e14260c30272d6472253e6564 (diff) |
scripts/decode_stacktrace.sh: support old bash version
Old bash version don't support associative array variables. Avoid to use
associative array variables to avoid error.
Without this, old bash version will report error as fellowing
[ 15.954042] Kernel panic - not syncing: sysrq triggered crash
[ 15.955252] CPU: 1 PID: 167 Comm: sh Not tainted 5.18.0-rc1-00208-gb7d075db2fd5 #4
[ 15.956472] Hardware name: Hobot J5 Virtual development board (DT)
[ 15.957856] Call trace:
./scripts/decode_stacktrace.sh: line 128: ,dump_backtrace: syntax error: operand expected (error token is ",dump_backtrace")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Schspa Shi <[email protected]>
Cc: Stephen Boyd <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions