summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 9dea33db..97d7ba0c 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -543,6 +543,11 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
(reporter<>(new format_xacts(*this, HANDLER(register_format_).str()),
*this));
break;
+
+ case 's':
+ if (is_eq(p, "stats"))
+ return WRAP_FUNCTOR(reporter<>(new gather_statistics(*this), *this));
+ break;
}
}
break;