ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
31 lines
864 B
Plaintext
31 lines
864 B
Plaintext
#compdef ktrace
|
|
|
|
local args=(
|
|
'-a[append to the trace file]'
|
|
'(*)-C[disable tracing on all user owned processes or all processes if executed by root]'
|
|
'-c[clear the trace points]'
|
|
'-d[trace current descendants]'
|
|
'-f+[log trace to specified file]:trace file:_files'
|
|
'(-p *)-g+[enable/disable tracing on specified process group]:pgid:_pgids'
|
|
'-i[inherit trace flags on future children]'
|
|
'(-g *)-p+[enable/disable tracing on specified PID]: :_pids'
|
|
'-t+[select information to include in dump]:trace string:_ktrace_points'
|
|
'*:: : _normal -p ktrace'
|
|
)
|
|
|
|
case $OSTYPE; in
|
|
openbsd*)
|
|
args+=(
|
|
'-B[process relocations immediately]'
|
|
)
|
|
;;
|
|
netbsd*)
|
|
args+=(
|
|
'-n[stop tracing if writes to the trace file would block]'
|
|
'-s[write to the trace file with synchronized I/O]'
|
|
)
|
|
;;
|
|
esac
|
|
|
|
_arguments -s -S -A '-*' : $args
|