]> git.saurik.com Git - apple/system_cmds.git/blob - KDBG/TraceCodes.hpp
system_cmds-671.10.3.tar.gz
[apple/system_cmds.git] / KDBG / TraceCodes.hpp
1 //
2 // TraceCodes.h
3 // KDBG
4 //
5 // Created by James McIlree on 4/16/13.
6 // Copyright (c) 2014 Apple. All rights reserved.
7 //
8
9 #ifndef __kdprof__TraceCodes__
10 #define __kdprof__TraceCodes__
11
12 std::vector<std::string> default_trace_code_paths();
13 std::unordered_map<uint32_t, std::string> trace_codes_at_path(const char* path);
14
15 //
16 // Set output_fd to an open fd to print verbose output/warnings.
17 //
18 std::unordered_map<uint32_t, std::string> resolve_trace_codes(bool should_read_default_codes, int output_fd, std::vector<std::string>& additional_paths);
19
20 #endif /* defined(__kdprof__TraceCodes__) */