1 /* 2 * \file ini_section_names.h 3 * \brief OpenCSD : Snapshot Parser Library 4 * 5 * \copyright Copyright (c) 2015, ARM Limited. All Rights Reserved. 6 */ 7 8 9 /* 10 * Redistribution and use in source and binary forms, with or without modification, 11 * are permitted provided that the following conditions are met: 12 * 13 * 1. Redistributions of source code must retain the above copyright notice, 14 * this list of conditions and the following disclaimer. 15 * 16 * 2. Redistributions in binary form must reproduce the above copyright notice, 17 * this list of conditions and the following disclaimer in the documentation 18 * and/or other materials provided with the distribution. 19 * 20 * 3. Neither the name of the copyright holder nor the names of its contributors 21 * may be used to endorse or promote products derived from this software without 22 * specific prior written permission. 23 * 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND 25 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 26 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 27 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 28 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 29 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 30 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 31 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 33 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 */ 35 36 /* based on original RDDI source file 'ini_section_names.h"*/ 37 38 #ifndef INC_INI_SECTION_NAMES_H 39 #define INC_INI_SECTION_NAMES_H 40 41 /* snapshot.ini keys */ 42 const char* const SnapshotSectionName("snapshot"); 43 const char* const VersionKey("version"); 44 const char* const DescriptionKey("description"); 45 46 const char* const DeviceListSectionName("device_list"); 47 48 const char* const TraceSectionName("trace"); 49 const char* const MetadataKey("metadata"); 50 51 /* device .ini keys (device_N.ini or cpu_N.ini)*/ 52 const char* const DeviceSectionName("device"); 53 const char* const DeviceNameKey("name"); 54 const char* const DeviceClassKey("class"); 55 const char* const DeviceTypeKey("type"); 56 57 const char* const SymbolicRegsSectionName("regs"); 58 59 const char* const DumpFileSectionPrefix("dump"); 60 const size_t DumpFileSectionLen = 4; 61 const char* const DumpAddressKey("address"); 62 const char* const DumpLengthKey("length"); 63 const char* const DumpOffsetKey("offset"); 64 const char* const DumpFileKey("file"); 65 const char* const DumpSpaceKey("space"); 66 67 /* trace.ini keys */ 68 const char * const TraceBuffersSectionName("trace_buffers"); 69 const char* const BufferListKey("buffers"); 70 71 const char * const BufferSectionPrefix("buffer"); 72 const size_t BufferSectionLen = 6; 73 const char* const BufferNameKey("name"); 74 const char* const BufferFileKey("file"); 75 const char* const BufferFormatKey("format"); 76 77 const char * const SourceBuffersSectionName("source_buffers"); 78 const char * const CoreSourcesSectionName("core_trace_sources"); 79 80 /* deprecated / unused in trace decode */ 81 const char* const GlobalSectionName("global"); 82 const char* const CoreKey("core"); 83 const char* const ExtendedRegsSectionName("extendregs"); 84 const char* const ClustersSectionName("clusters"); 85 86 #endif // INC_INI_SECTION_NAMES_H 87 88 /* End of File ini_section_names.h */ 89