]> git.saurik.com Git - apple/system_cmds.git/blame - kdprof/DisableAction.cpp
system_cmds-670.1.2.tar.gz
[apple/system_cmds.git] / kdprof / DisableAction.cpp
CommitLineData
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
11void DisableAction::execute(Globals& globals) {
12 if (!KDBG::set_enabled(false)) {
13 usage("Unable to disable tracing");
14 }
15}