zsh-workers
 help / color / mirror / code / Atom feed
13c11f15d276d0ae9b2cf5ef57992e720c6cce88 blob 863 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
#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 decendants]'
  '-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
debug log:

solving 13c11f15d ...
found 13c11f15d in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).