summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2014-04-27 20:31:25 +0200
committerMichael Brown2014-04-28 00:14:47 +0200
commit7c44fd68f000374d20610e547f26b84b0794c494 (patch)
treef4321e95f081eea2d4053745860ba6af3d9d62cd /src/config
parent[profile] Add generic profiling infrastructure (diff)
downloadipxe-7c44fd68f000374d20610e547f26b84b0794c494.tar.gz
ipxe-7c44fd68f000374d20610e547f26b84b0794c494.tar.xz
ipxe-7c44fd68f000374d20610e547f26b84b0794c494.zip
[cmdline] Add "profstat" command to display profiling statistics
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 98d3d8b29..6c8b9551a 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -290,6 +290,9 @@ REQUIRE_OBJECT ( console_cmd );
#ifdef IPSTAT_CMD
REQUIRE_OBJECT ( ipstat_cmd );
#endif
+#ifdef PROFSTAT_CMD
+REQUIRE_OBJECT ( profstat_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index 589798fb2..72cfc3b86 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -149,6 +149,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#define PING_CMD /* Ping command */
//#define CONSOLE_CMD /* Console command */
//#define IPSTAT_CMD /* IP statistics commands */
+//#define PROFSTAT_CMD /* Profiling commands */
/*
* ROM-specific options