diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2007-10-08 21:15:01 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2007-10-08 21:15:01 -0400 |
commit | 38d7fc30b108ec4a9e74ddb33d945cce1bd5c4c6 (patch) | |
tree | 7a211e51e13e7e631306d90b17decda4497676b6 /runtime/staprun/common.c | |
parent | 9d33454315110680fda3a926465c3002a0521431 (diff) | |
parent | 7574941533c7ca9a4b1715cbfd785f732be48266 (diff) | |
download | systemtap-steved-38d7fc30b108ec4a9e74ddb33d945cce1bd5c4c6.tar.gz systemtap-steved-38d7fc30b108ec4a9e74ddb33d945cce1bd5c4c6.tar.xz systemtap-steved-38d7fc30b108ec4a9e74ddb33d945cce1bd5c4c6.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/staprun/common.c')
-rw-r--r-- | runtime/staprun/common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/staprun/common.c b/runtime/staprun/common.c index 9056c710..d3f8835a 100644 --- a/runtime/staprun/common.c +++ b/runtime/staprun/common.c @@ -23,6 +23,7 @@ char *target_cmd; char *outfile_name; int attach_mod; int load_only; +int need_uprobes; /* module variables */ char *modname = NULL; @@ -44,9 +45,13 @@ void parse_args(int argc, char **argv) outfile_name = NULL; attach_mod = 0; load_only = 0; + need_uprobes = 0; - while ((c = getopt(argc, argv, "ALvb:t:d:c:o:x:")) != EOF) { + while ((c = getopt(argc, argv, "ALuvb:t:d:c:o:x:")) != EOF) { switch (c) { + case 'u': + need_uprobes = 1; + break; case 'v': verbose++; break; |