In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/lttng-trace-systemcalls line 10:
      case $opt in
      ^-- SC2213 (warning): getopts specified -c, but it's not handled by this 'case'.
      ^-- SC2220 (warning): Invalid flags are not handled. Add a *) case.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/lttng-trace-systemcalls line 18:
lttng enable-channel syscalls --kernel --num-subbuf 16 $SESSION
                                                       ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
lttng enable-channel syscalls --kernel --num-subbuf 16 "$SESSION"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/lttng-trace-systemcalls line 19:
lttng add-context $SESSION -c syscalls -k --type pid --type tid
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
lttng add-context "$SESSION" -c syscalls -k --type pid --type tid


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/lttng-trace-systemcalls line 20:
lttng enable-event --kernel --syscall -a $SESSION -c syscalls
                                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
lttng enable-event --kernel --syscall -a "$SESSION" -c syscalls

For more information:
  https://www.shellcheck.net/wiki/SC2213 -- getopts specified -c, but it's no...
  https://www.shellcheck.net/wiki/SC2220 -- Invalid flags are not handled. Ad...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...