]>
Commit | Line | Data |
---|---|---|
bd6521f0 A |
1 | // |
2 | // DisableAction.cpp | |
3 | // kdprof | |
4 | // | |
5 | // Created by James McIlree on 4/17/13. | |
6 | // Copyright (c) 2013 Apple. All rights reserved. | |
7 | // | |
8 | ||
9 | #include "global.h" | |
10 | ||
11 | void DisableAction::execute(Globals& globals) { | |
12 | if (!KDBG::set_enabled(false)) { | |
13 | usage("Unable to disable tracing"); | |
14 | } | |
15 | } |