]>
git.saurik.com Git - apple/system_cmds.git/blob - kdprof/InitializeAction.cpp
2 // InitializeAction.cpp
5 // Created by James McIlree on 4/17/13.
6 // Copyright (c) 2013 Apple. All rights reserved.
11 void InitializeAction::execute(Globals
& globals
) {
13 if (!KDBG::set_buffer_capacity(_buffers
)) {
14 usage("Attempt to set buffer count failed");
18 if (!KDBG::initialize_buffers()) {
19 usage("Attempt to initialize buffers failed\n");