diff options
author | Denys Vlasenko | 2016-11-23 11:46:32 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-23 11:46:32 +0100 |
commit | dd898c9f3388fca1d7339a45150fbb7406de0971 (patch) | |
tree | f9f498c9d86c26bd208acc687c5f29b451927ce3 /util-linux/readprofile.c | |
parent | e5dd71f94f8691c41382b89de35088695cca34b9 (diff) | |
download | busybox-dd898c9f3388fca1d7339a45150fbb7406de0971.zip busybox-dd898c9f3388fca1d7339a45150fbb7406de0971.tar.gz |
Convert all util-linux/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/readprofile.c')
-rw-r--r-- | util-linux/readprofile.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c index 345b676..d523038 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c @@ -31,6 +31,16 @@ * Taken from util-linux and adapted for busybox by * Paul Mundt <lethal@linux-sh.org>. */ +//config:config READPROFILE +//config: bool "readprofile" +//config: default y +//config: #select PLATFORM_LINUX +//config: help +//config: This allows you to parse /proc/profile for basic profiling. + +//applet:IF_READPROFILE(APPLET(readprofile, BB_DIR_USR_SBIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_READPROFILE) += readprofile.o //usage:#define readprofile_trivial_usage //usage: "[OPTIONS]" |