5 // Created by James McIlree on 4/16/13.
6 // Copyright (c) 2014 Apple. All rights reserved.
9 #ifndef __kdprof__TraceCodes__
10 #define __kdprof__TraceCodes__
12 std::vector<std::string> default_trace_code_paths();
13 std::unordered_map<uint32_t, std::string> trace_codes_at_path(const char* path);
16 // Set output_fd to an open fd to print verbose output/warnings.
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);
20 #endif /* defined(__kdprof__TraceCodes__) */