summaryrefslogtreecommitdiff
path: root/src/mongo/db/introspect.h
diff options
context:
space:
mode:
authorMartin Bligh <mbligh@mongodb.com>2015-11-11 17:01:03 -0500
committerMartin Bligh <mbligh@mongodb.com>2015-11-11 17:01:03 -0500
commit5dd9558ed687faa62037cd0f9774a7bd45c62b84 (patch)
treed781826b203621e59354db824bcce15262daca67 /src/mongo/db/introspect.h
parent273aca8cdff4e23f62244b2537b72a12269b6370 (diff)
downloadmongo-5dd9558ed687faa62037cd0f9774a7bd45c62b84.tar.gz
SERVER-21276: Fix various issues with top
Diffstat (limited to 'src/mongo/db/introspect.h')
-rw-r--r--src/mongo/db/introspect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/introspect.h b/src/mongo/db/introspect.h
index 0bfc3863e42..4f44a1623a1 100644
--- a/src/mongo/db/introspect.h
+++ b/src/mongo/db/introspect.h
@@ -29,6 +29,7 @@
#pragma once
#include "mongo/base/status.h"
+#include "mongo/util/net/message.h"
namespace mongo {
@@ -38,7 +39,7 @@ class OperationContext;
/**
* Invoked when database profile is enabled.
*/
-void profile(OperationContext* txn, int op);
+void profile(OperationContext* txn, NetworkOp op);
/**
* Pre-creates the profile collection for the specified database.