A couple issues in src/mongo/db/commands/cpuprofile.cpp:
- secondaryAllowed should have a ServiceContext* argument
- addRequiredPrivileges should be marked as const, not override
I imagine this is also broken in master, though I did not check.
- is related to
-
SERVER-33261 jstests/core/views/views_all_commands.js fails with --use-cpu-profiler enabled
- Closed