aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h15
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 @@
#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 d63498553..ae858bd11 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 \