diff options
author | Paul Mundt <lethal@linux-sh.org> | 2005-05-20 17:22:18 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2005-05-20 17:22:18 +0000 |
commit | 8b2d02ed34fe9f43c070d553ac5bc9491cb474a2 (patch) | |
tree | 53eece1bef201efbb1e1f2479dd10d08b0198032 /include | |
parent | 93850a56b2257ca5d0b2bbea82348622d83011b8 (diff) | |
download | busybox-w32-8b2d02ed34fe9f43c070d553ac5bc9491cb474a2.tar.gz busybox-w32-8b2d02ed34fe9f43c070d553ac5bc9491cb474a2.tar.bz2 busybox-w32-8b2d02ed34fe9f43c070d553ac5bc9491cb474a2.zip |
Add readprofile applet support.
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 4ef5ed77c..6aa67f527 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -485,6 +485,9 @@ | |||
485 | #ifdef CONFIG_READLINK | 485 | #ifdef CONFIG_READLINK |
486 | APPLET(readlink, readlink_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 486 | APPLET(readlink, readlink_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
487 | #endif | 487 | #endif |
488 | #ifdef CONFIG_READPROFILE | ||
489 | APPLET(readprofile, readprofile_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) | ||
490 | #endif | ||
488 | #ifdef CONFIG_REALPATH | 491 | #ifdef CONFIG_REALPATH |
489 | APPLET(realpath, realpath_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 492 | APPLET(realpath, realpath_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
490 | #endif | 493 | #endif |
diff --git a/include/usage.h b/include/usage.h index d63498553..ae858bd11 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2091,6 +2091,21 @@ | |||
2091 | USAGE_READLINK_FOLLOW("\n\nOptions:\n" \ | 2091 | USAGE_READLINK_FOLLOW("\n\nOptions:\n" \ |
2092 | "\t-f\tcanonicalize by following all symlinks") | 2092 | "\t-f\tcanonicalize by following all symlinks") |
2093 | 2093 | ||
2094 | #define readprofile_trivial_usage \ | ||
2095 | "[OPTIONS]..." | ||
2096 | #define readprofile_full_usage \ | ||
2097 | "Options:\n" \ | ||
2098 | "\t -m <mapfile> (default: /boot/System.map)\n" \ | ||
2099 | "\t -p <profile> (default: /proc/profile)\n" \ | ||
2100 | "\t -M <mult> set the profiling multiplier to <mult>\n" \ | ||
2101 | "\t -i print only info about the sampling step\n" \ | ||
2102 | "\t -v print verbose data\n" \ | ||
2103 | "\t -a print all symbols, even if count is 0\n" \ | ||
2104 | "\t -b print individual histogram-bin counts\n" \ | ||
2105 | "\t -s print individual counters within functions\n" \ | ||
2106 | "\t -r reset all the counters (root only)\n" \ | ||
2107 | "\t -n disable byte order auto-detection" | ||
2108 | |||
2094 | #define realpath_trivial_usage \ | 2109 | #define realpath_trivial_usage \ |
2095 | "pathname ..." | 2110 | "pathname ..." |
2096 | #define realpath_full_usage \ | 2111 | #define realpath_full_usage \ |