2 // Copyright (C) 2012 Red Hat Inc.
4 // This file is part of systemtap, and is free software. You can
5 // redistribute it and/or modify it under the terms of the GNU General
6 // Public License (GPL); either version 2, or (at your option) any
15 // NB: when adding new options, consider very carefully whether they
16 // should be restricted from stap clients (after --client-options)!
17 // NB: The values of these enumerators must not conflict with the values of ordinary
18 // characters, since those are returned by getopt_long for short options.
22 LONG_OPT_IGNORE_VMLINUX
,
23 LONG_OPT_IGNORE_DWARF
,
24 LONG_OPT_VERBOSE_PASS
,
25 LONG_OPT_SKIP_BADVARS
,
26 LONG_OPT_UNPRIVILEGED
,
28 LONG_OPT_CLIENT_OPTIONS
,
30 LONG_OPT_DISABLE_CACHE
,
31 LONG_OPT_POISON_CACHE
,
36 LONG_OPT_LIST_SERVERS
,
37 LONG_OPT_TRUST_SERVERS
,
40 LONG_OPT_CHECK_VERSION
,
41 LONG_OPT_USE_SERVER_ON_ERROR
,
43 LONG_OPT_REMOTE_PREFIX
,
45 LONG_OPT_DOWNLOAD_DEBUGINFO
,
46 LONG_OPT_DUMP_PROBE_TYPES
,
48 LONG_OPT_SUPPRESS_HANDLER_ERRORS
,
52 LONG_OPT_RLIMIT_NPROC
,
53 LONG_OPT_RLIMIT_STACK
,
54 LONG_OPT_RLIMIT_FSIZE
,
59 // NB: when adding new options, consider very carefully whether they
60 // should be restricted from stap clients (after --client-options)!
61 #define STAP_SHORT_OPTIONS "hVvtp:I:e:o:R:r:a:m:kgPc:x:D:bs:uqwl:d:L:FS:B:WG:"
69 #define OMIT_WERROR_NAME OWE4 OWE6 OWE1 OWE2 OWE3 OWE5
71 extern struct option stap_long_options
[];