Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DTRACE points to measure request timings. #11245

Merged
merged 18 commits into from
Mar 20, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix compilation and script.
  • Loading branch information
neunhoef committed Mar 5, 2020
commit 1da73119b1cc0709a13e7a5cb379b644761fc4b4
3 changes: 3 additions & 0 deletions arangod/GeneralServer/VstCommTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
#include "Basics/Result.h"
#include "Basics/ScopeGuard.h"
#include "Basics/VelocyPackHelper.h"
#ifdef USE_DTRACE
#include "Basics/sdt.h"
#endif
#include "Basics/tryEmplaceHelper.h"
#include "Cluster/ServerState.h"
#include "GeneralServer/AuthenticationFeature.h"
Expand Down
2 changes: 1 addition & 1 deletion scripts/showRequestLife.bt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ usdt:build/bin/arangod:arangod:VstCommTaskProcess* {
}

usdt:build/bin/arangod:arangod:VstCommTaskSendResponse* {
printf("%llu H2CommTask::sendResponse this=%llx\n",
printf("%llu VstCommTask::sendResponse this=%llx\n",
(nsecs-@START)/1000, arg0);
}

Expand Down