summaryrefslogtreecommitdiffstats
path: root/src/config/config.c
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/config.c
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/config.c')
-rw-r--r--src/config/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 98d3d8b2..6c8b9551 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