summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-06 23:02:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-06 23:02:45 +0000
commitc19315034c18ed60d9d960c4a05bb42cd0f864ba (patch)
tree5f8d67e0e815456d17bf1e352e245aa9540dad15
parent8c6b0338426c1d56d35cef6c2f94fa3667c75bc9 (diff)
2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* shttpd_ext.c: Use new name.
-rw-r--r--http/ChangeLog4
-rw-r--r--http/shttpd_ext.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/http/ChangeLog b/http/ChangeLog
index d98feaa..efe8c6d 100644
--- a/http/ChangeLog
+++ b/http/ChangeLog
@@ -1,5 +1,9 @@
2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * shttpd_ext.c: Use new name.
+
+2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* Makefile, init.c, rootfs/.cvsignore: Add some dynamic content.
Can now look at cpu usage, reset cpu usage and print a stack
usage report.
diff --git a/http/shttpd_ext.c b/http/shttpd_ext.c
index 901f3f1..33c6213 100644
--- a/http/shttpd_ext.c
+++ b/http/shttpd_ext.c
@@ -30,7 +30,7 @@ void example_shttpd_callback(struct shttpd_arg *arg)
/* fprintf( stderr, "RTEMS Request -%s-\n", query ); */
if ( !strcmp( query, "cpuuse_report" ) ) {
- rtems_cpu_usage_report_with_handler( arg, shttpd_printf );
+ rtems_cpu_usage_report_with_plugin( arg, shttpd_printf );
} else if ( !strcmp( query, "cpuuse_reset" ) ) {
rtems_cpu_usage_reset();
shttpd_printf(
@@ -40,7 +40,7 @@ void example_shttpd_callback(struct shttpd_arg *arg)
END_HTML_BODY
);
} else if ( !strcmp( query, "stackuse_report" ) ) {
- rtems_stack_checker_report_usage_with_handler( arg, shttpd_printf );
+ rtems_stack_checker_report_usage_with_plugin( arg, shttpd_printf );
} else {
shttpd_printf(
arg,