summaryrefslogtreecommitdiff
path: root/simpleperf/cmd_kmem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/cmd_kmem.cpp')
-rw-r--r--simpleperf/cmd_kmem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/simpleperf/cmd_kmem.cpp b/simpleperf/cmd_kmem.cpp
index 453a2768..454747b8 100644
--- a/simpleperf/cmd_kmem.cpp
+++ b/simpleperf/cmd_kmem.cpp
@@ -710,7 +710,11 @@ void KmemCommand::PrintSlabReportContext(FILE* fp) {
} // namespace
+namespace simpleperf {
+
void RegisterKmemCommand() {
RegisterCommand("kmem",
[] { return std::unique_ptr<Command>(new KmemCommand()); });
}
+
+} // namespace simpleperf