From b965da8f3c53958af08bf7f57718265713cebb0a Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Tue, 22 Apr 2008 10:40:32 -0400 Subject: Add documentation for staprun -d option. --- runtime/staprun/ChangeLog | 4 ++++ runtime/staprun/common.c | 3 +++ 2 files changed, 7 insertions(+) (limited to 'runtime/staprun') diff --git a/runtime/staprun/ChangeLog b/runtime/staprun/ChangeLog index 6b8204f7..71e4d412 100644 --- a/runtime/staprun/ChangeLog +++ b/runtime/staprun/ChangeLog @@ -1,3 +1,7 @@ +2008-04-22 hunt + + * common.c (usage): Add -d option. + 2008-04-21 Martin Hunt * staprun.c, stapio.c, staprun.h, mainloop.c, staprun_funcs.c, diff --git a/runtime/staprun/common.c b/runtime/staprun/common.c index f228caff..d07f85b1 100644 --- a/runtime/staprun/common.c +++ b/runtime/staprun/common.c @@ -135,6 +135,9 @@ void usage(char *prog) err(" That value will be per-cpu in bulk mode.\n"); err("-L Load module and start probes, then detach.\n"); err("-A Attach to loaded systemtap module.\n"); + err("-d modulename Delete a module. Only detached or unused modules\n"); + err(" the user has permission to access will be deleted. Use \"*\"\n"); + err(" (quoted) to delete all unused modules.\n"); err("MODULE can be either a module name or a module path. If a\n"); err("module name is used, it is looked for in the following\n"); err("directory: /lib/modules/`uname -r`/systemtap\n"); -- cgit