-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmdline.h
72 lines (67 loc) · 2.01 KB
/
cmdline.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// -*- C++ -*-
// Copyright (C) 2014 Red Hat Inc.
//
// This file is part of systemtap, and is free software. You can
// redistribute it and/or modify it under the terms of the GNU General
// Public License (GPL); either version 2, or (at your option) any
// later version.
#ifndef CMDLINE_H
#define CMDLINE_H 1
extern "C" {
#include <getopt.h>
}
// NB: when adding new options, consider very carefully whether they
// should be restricted from stap clients (after --client-options)!
// NB: The values of these enumerators must not conflict with the values of ordinary
// characters, since those are returned by getopt_long for short options.
enum {
LONG_OPT_VERBOSE_PASS = 256,
LONG_OPT_SKIP_BADVARS,
LONG_OPT_UNPRIVILEGED,
LONG_OPT_CLIENT_OPTIONS,
LONG_OPT_HELP,
LONG_OPT_DISABLE_CACHE,
LONG_OPT_POISON_CACHE,
LONG_OPT_CLEAN_CACHE,
LONG_OPT_COMPATIBLE,
LONG_OPT_LDD,
LONG_OPT_USE_SERVER,
LONG_OPT_LIST_SERVERS,
LONG_OPT_TRUST_SERVERS,
LONG_OPT_ALL_MODULES,
LONG_OPT_REMOTE,
LONG_OPT_CHECK_VERSION,
LONG_OPT_USE_SERVER_ON_ERROR,
LONG_OPT_VERSION,
LONG_OPT_REMOTE_PREFIX,
LONG_OPT_TMPDIR,
LONG_OPT_DOWNLOAD_DEBUGINFO,
LONG_OPT_DUMP_PROBE_TYPES,
LONG_OPT_DUMP_PROBE_ALIASES,
LONG_OPT_DUMP_FUNCTIONS,
LONG_OPT_PRIVILEGE,
LONG_OPT_SUPPRESS_HANDLER_ERRORS,
LONG_OPT_MODINFO,
LONG_OPT_RLIMIT_AS,
LONG_OPT_RLIMIT_CPU,
LONG_OPT_RLIMIT_NPROC,
LONG_OPT_RLIMIT_STACK,
LONG_OPT_RLIMIT_FSIZE,
LONG_OPT_SYSROOT,
LONG_OPT_SYSENV,
LONG_OPT_SUPPRESS_TIME_LIMITS,
LONG_OPT_RUNTIME,
LONG_OPT_RUNTIME_DYNINST,
LONG_OPT_BENCHMARK_SDT,
LONG_OPT_BENCHMARK_SDT_LOOPS,
LONG_OPT_BENCHMARK_SDT_THREADS,
LONG_OPT_COLOR_ERRS,
LONG_OPT_PROLOGUE_SEARCHING,
LONG_OPT_SAVE_UPROBES,
LONG_OPT_TARGET_NAMESPACES,
};
// NB: when adding new options, consider very carefully whether they
// should be restricted from stap clients (after --client-options)!
#define STAP_SHORT_OPTIONS "hVvtp:I:e:E:o:R:r:a:m:kgPc:x:D:bs:uqwl:d:L:FS:B:J:jWG:"
extern struct option stap_long_options[];
#endif // CMDLINE_H