diff options
author | Paul Mundt | 2005-05-20 17:22:18 +0000 |
---|---|---|
committer | Paul Mundt | 2005-05-20 17:22:18 +0000 |
commit | 8b2d02ed34fe9f43c070d553ac5bc9491cb474a2 (patch) | |
tree | 53eece1bef201efbb1e1f2479dd10d08b0198032 /include | |
parent | 93850a56b2257ca5d0b2bbea82348622d83011b8 (diff) | |
download | busybox-8b2d02ed34fe9f43c070d553ac5bc9491cb474a2.zip busybox-8b2d02ed34fe9f43c070d553ac5bc9491cb474a2.tar.gz |
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 4ef5ed7..6aa67f5 100644 --- a/include/applets.h +++ b/include/applets.h @@ -485,6 +485,9 @@ #ifdef CONFIG_READLINK APPLET(readlink, readlink_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_READPROFILE + APPLET(readprofile, readprofile_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_REALPATH APPLET(realpath, realpath_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index d634985..ae858bd 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2091,6 +2091,21 @@ USAGE_READLINK_FOLLOW("\n\nOptions:\n" \ "\t-f\tcanonicalize by following all symlinks") +#define readprofile_trivial_usage \ + "[OPTIONS]..." +#define readprofile_full_usage \ + "Options:\n" \ + "\t -m <mapfile> (default: /boot/System.map)\n" \ + "\t -p <profile> (default: /proc/profile)\n" \ + "\t -M <mult> set the profiling multiplier to <mult>\n" \ + "\t -i print only info about the sampling step\n" \ + "\t -v print verbose data\n" \ + "\t -a print all symbols, even if count is 0\n" \ + "\t -b print individual histogram-bin counts\n" \ + "\t -s print individual counters within functions\n" \ + "\t -r reset all the counters (root only)\n" \ + "\t -n disable byte order auto-detection" + #define realpath_trivial_usage \ "pathname ..." #define realpath_full_usage \ |