From 8b2d02ed34fe9f43c070d553ac5bc9491cb474a2 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Fri, 20 May 2005 17:22:18 +0000 Subject: Add readprofile applet support. --- include/applets.h | 3 +++ include/usage.h | 15 +++++++++++++++ 2 files changed, 18 insertions(+) (limited to 'include') 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 (default: /boot/System.map)\n" \ + "\t -p (default: /proc/profile)\n" \ + "\t -M set the profiling multiplier to \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 \ -- cgit v1.2.3