]> sourceware.org Git - systemtap.git/blame - cmdline.h
Fix PR14820 by removing old "--kmap" and "--ignore-vmlinx" options.
[systemtap.git] / cmdline.h
CommitLineData
73f52eb4
DB
1// -*- C++ -*-
2// Copyright (C) 2012 Red Hat Inc.
3//
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
7// later version.
8
9#ifndef CMDLINE_H
10#define CMDLINE_H 1
11extern "C" {
12#include <getopt.h>
13}
14
15// NB: when adding new options, consider very carefully whether they
16// should be restricted from stap clients (after --client-options)!
372c6458
DB
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.
19enum {
20 LONG_OPT_KELF = 256,
372c6458
DB
21 LONG_OPT_IGNORE_DWARF,
22 LONG_OPT_VERBOSE_PASS,
23 LONG_OPT_SKIP_BADVARS,
24 LONG_OPT_UNPRIVILEGED,
25 LONG_OPT_OMIT_WERROR,
26 LONG_OPT_CLIENT_OPTIONS,
27 LONG_OPT_HELP,
28 LONG_OPT_DISABLE_CACHE,
29 LONG_OPT_POISON_CACHE,
30 LONG_OPT_CLEAN_CACHE,
31 LONG_OPT_COMPATIBLE,
32 LONG_OPT_LDD,
33 LONG_OPT_USE_SERVER,
34 LONG_OPT_LIST_SERVERS,
35 LONG_OPT_TRUST_SERVERS,
36 LONG_OPT_ALL_MODULES,
37 LONG_OPT_REMOTE,
38 LONG_OPT_CHECK_VERSION,
39 LONG_OPT_USE_SERVER_ON_ERROR,
40 LONG_OPT_VERSION,
41 LONG_OPT_REMOTE_PREFIX,
42 LONG_OPT_TMPDIR,
43 LONG_OPT_DOWNLOAD_DEBUGINFO,
44 LONG_OPT_DUMP_PROBE_TYPES,
45 LONG_OPT_PRIVILEGE,
46 LONG_OPT_SUPPRESS_HANDLER_ERRORS,
ea7e1c17
DB
47 LONG_OPT_MODINFO,
48 LONG_OPT_RLIMIT_AS,
49 LONG_OPT_RLIMIT_CPU,
50 LONG_OPT_RLIMIT_NPROC,
51 LONG_OPT_RLIMIT_STACK,
4bf09a21
JS
52 LONG_OPT_RLIMIT_FSIZE,
53 LONG_OPT_SYSROOT,
54 LONG_OPT_SYSENV,
4441e344 55 LONG_OPT_RUNTIME,
372c6458 56};
73f52eb4
DB
57
58// NB: when adding new options, consider very carefully whether they
59// should be restricted from stap clients (after --client-options)!
60#define STAP_SHORT_OPTIONS "hVvtp:I:e:o:R:r:a:m:kgPc:x:D:bs:uqwl:d:L:FS:B:WG:"
61
372c6458
DB
62#define OWE5 "tter"
63#define OWE1 "uild-"
64#define OWE6 "fu-kb"
65#define OWE2 "i-kno"
66#define OWE4 "st"
67#define OWE3 "w-be"
68#define OMIT_WERROR_NAME OWE4 OWE6 OWE1 OWE2 OWE3 OWE5
69
73f52eb4 70extern struct option stap_long_options[];
73f52eb4
DB
71
72#endif // CMDLINE_H
This page took 0.034807 seconds and 5 git commands to generate.