mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
Running shellcheck on some of the shell scripts throws below error: In tests/shell/coresight/unroll_loop_thread_10.sh line 8: . "$(dirname $0)"/../lib/coresight.sh ^-- SC1090: Can't follow non-constant source. Use a directive to specify location. This happens on shellcheck version "0.6.0". Fix shellcheck warning for SC1090 using "shellcheck source="i option to mention the location of sourced files. Signed-off-by: Athira Rajeev <[email protected]> Tested-by: Ian Rogers <[email protected]> Reviewed-by: Kajol Jain <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
19 lines
428 B
Bash
Executable File
19 lines
428 B
Bash
Executable File
#!/bin/sh
|
|
# Add vfs_getname probe to get syscall args filenames
|
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# Arnaldo Carvalho de Melo <[email protected]>, 2017
|
|
|
|
# shellcheck source=lib/probe.sh
|
|
. "$(dirname $0)"/lib/probe.sh
|
|
|
|
skip_if_no_perf_probe || exit 2
|
|
|
|
# shellcheck source=lib/probe_vfs_getname.sh
|
|
. "$(dirname $0)"/lib/probe_vfs_getname.sh
|
|
|
|
add_probe_vfs_getname || skip_if_no_debuginfo
|
|
err=$?
|
|
cleanup_probe_vfs_getname
|
|
exit $err
|