Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 26) sorted by relevance

12

/mipi-sys-t-3.4.0/library/src/
Dmipi_syst_writer.c69 } data; in mipi_syst_scatter_write() local
94 data.vp = pdesc; in mipi_syst_scatter_write()
95 data.bp += scatterprog->sso_offset; in mipi_syst_scatter_write()
100 MIPI_SYST_OUTPUT_D8(systh, *data.bp); in mipi_syst_scatter_write()
102 MIPI_SYST_CRC32_U8(crc, *data.bp)); in mipi_syst_scatter_write()
103 ++data.bp; in mipi_syst_scatter_write()
109 MIPI_SYST_OUTPUT_D16(systh, *data.hp); in mipi_syst_scatter_write()
111 MIPI_SYST_CRC32_U16(crc, *data.hp)); in mipi_syst_scatter_write()
112 ++data.hp; in mipi_syst_scatter_write()
118 MIPI_SYST_OUTPUT_D32(systh, *data.wp); in mipi_syst_scatter_write()
[all …]
Dmipi_syst_api.c468 const void *data, mipi_syst_u16 length) in mipi_syst_write_raw_message() argument
485 desc.ed_pld.data_var = data; in mipi_syst_write_raw_message()
/mipi-sys-t-3.4.0/printer/src/
Dmipi_syst_decode.cpp55 static int32_t bytes2String(std::string& dest, const uint8_t * data, uint32_t len) in bytes2String() argument
61 if (!data[i]) { in bytes2String()
64 dest += data[i++]; in bytes2String()
67 if (i == len && data[i - 1]) { in bytes2String()
79 const void * data, in printfFormat() argument
85 printer.format(fmt, data, len, result); in printfFormat()
115 bool decoder::decode(message& dest, const std::vector<uint8_t>& data, const decode_context * ctx) c… in decode() argument
122 if (data.size() < sizeof(uint32_t)) throw tooshort_exception(); in decode()
123 message::header hdr(bytes2ValLE<uint32_t>(&data[0])); in decode()
128 rt = decodeShortMessage(dest, &data[0], (uint32_t)data.size(), ctx); in decode()
[all …]
Dmipi_syst_collateral.cpp198 masked_item<K, V> data; in parseMaskedItems() local
203 if (!parse<K>(data.key(), keyStr)) { in parseMaskedItems()
214 if (!parse<K>(data.mask(), maskStr)) { in parseMaskedItems()
223 data.mask() = nomask<K>(); in parseMaskedItems()
226 data.value() = val; in parseMaskedItems()
231 catalogentry<K> * entry((catalogentry<K>*)&data.value()); in parseMaskedItems()
232 entry->mask = data.mask(); in parseMaskedItems()
260 auto it = dest.find(data.key()); in parseMaskedItems()
263 "Overwriting ID" << data.key() << " -> " << val << in parseMaskedItems()
265 *it = data; in parseMaskedItems()
[all …]
Dmipi_syst_printf.cpp44 template<> double bytes2ValLE<double>(const void * data) in bytes2ValLE() argument
46 union { uint64_t ll; double d; } u = { bytes2ValLE<uint64_t>(data) }; in bytes2ValLE()
/mipi-sys-t-3.4.0/library/platform/example/include/mipi_syst/
Dplatform.h149 #define MIPI_SYST_OUTPUT_D32TS(syst_handle, data) \ argument
150 (syst_handle)->systh_header->systh_platform.write_d32ts((syst_handle), (data))
151 #define MIPI_SYST_OUTPUT_D32MTS(syst_handle, data) \ argument
152 (syst_handle)->systh_header->systh_platform.write_d32mts((syst_handle), (data))
153 #define MIPI_SYST_OUTPUT_D64MTS(syst_handle, data) \ argument
154 (syst_handle)->systh_header->systh_platform.write_d64mts((syst_handle), (data))
155 #define MIPI_SYST_OUTPUT_D8(syst_handle, data) \ argument
156 (syst_handle)->systh_header->systh_platform.write_d8((syst_handle), (data))
157 #define MIPI_SYST_OUTPUT_D16(syst_handle, data) \ argument
158 (syst_handle)->systh_header->systh_platform.write_d16((syst_handle), (data))
[all …]
/mipi-sys-t-3.4.0/library/platform/mipi_stp_sim/include/mipi_syst/
Dplatform.h133 #define MIPI_SYST_OUTPUT_D32TS(syst_handle, data) \ argument
134 (syst_handle)->systh_header->systh_platform.write_d32ts((syst_handle), (data))
135 #define MIPI_SYST_OUTPUT_D32MTS(syst_handle, data) \ argument
136 (syst_handle)->systh_header->systh_platform.write_d32mts((syst_handle), (data))
137 #define MIPI_SYST_OUTPUT_D64MTS(syst_handle, data) \ argument
138 (syst_handle)->systh_header->systh_platform.write_d64mts((syst_handle), (data))
139 #define MIPI_SYST_OUTPUT_D8(syst_handle, data) \ argument
140 (syst_handle)->systh_header->systh_platform.write_d8((syst_handle), (data))
141 #define MIPI_SYST_OUTPUT_D16(syst_handle, data) \ argument
142 (syst_handle)->systh_header->systh_platform.write_d16((syst_handle), (data))
[all …]
/mipi-sys-t-3.4.0/library/test/unit/
Dmipi_syst_gtest.h80 #define MIPI_SYST_OUTPUT_D32MTS(syst_handle, data) \ argument
81 MipiSysTFixtureOutput::d32mts((syst_handle), (data))
82 #define MIPI_SYST_OUTPUT_D64MTS(syst_handle, data) \ argument
83 MipiSysTFixtureOutput::d64mts((syst_handle), (data))
84 #define MIPI_SYST_OUTPUT_D32TS(syst_handle, data) \ argument
85 MipiSysTFixtureOutput::d32ts((syst_handle), (data))
86 #define MIPI_SYST_OUTPUT_D8(syst_handle, data) \ argument
87 MipiSysTFixtureOutput::d8((syst_handle), (data))
88 #define MIPI_SYST_OUTPUT_D16(syst_handle, data) \ argument
89 MipiSysTFixtureOutput::d16((syst_handle), (data))
[all …]
Dmipi_syst_raw_test.cpp61 const void * data, in mipi_syst_write_raw_message() argument
66 ::mipi_syst_write_raw_message(svh, loc, severity, subtype, data, length); in mipi_syst_write_raw_message()
Dmipi_syst_build_test.cpp62 const char * data, in mipi_syst_write_build_message() argument
67 ::mipi_syst_write_build_message(svh, loc, severity, subtype, data, length); in mipi_syst_write_build_message()
/mipi-sys-t-3.4.0/library/platform/nop/include/mipi_syst/
Dplatform.h137 #define MIPI_SYST_OUTPUT_D32TS(syst_handle, data) argument
138 #define MIPI_SYST_OUTPUT_D32MTS(syst_handle, data) argument
139 #define MIPI_SYST_OUTPUT_D64MTS(syst_handle, data) argument
140 #define MIPI_SYST_OUTPUT_D8(syst_handle, data) argument
141 #define MIPI_SYST_OUTPUT_D16(syst_handle, data) argument
142 #define MIPI_SYST_OUTPUT_D32(syst_handle, data) argument
144 #define MIPI_SYST_OUTPUT_D64(syst_handle, data) argument
/mipi-sys-t-3.4.0/printer/include/
Dmipi_syst_decode.h158 bool decode(message& dest, const std::vector<uint8_t>& data, const decode_context * ctx) const;
161 …bool decodeShortMessage(message& dest, const uint8_t *data, uint32_t length, const decode_context …
162 …bool decodeNormalMessage(message& dest, const uint8_t *data, uint32_t length, const decode_contex…
164 void decodeBuildPayload(message& dest, const uint8_t * data, uint32_t len) const;
165 void decodeStringPayload(message& dest, const uint8_t * data, uint32_t len) const;
166 void decodeCatalogPayload(message& dest, const uint8_t * data, uint32_t len) const;
167 void decodeRawPayload(message& dest, const uint8_t * data, uint32_t len) const;
168 void decodeInvalidType(message& dest, const uint8_t * data, uint32_t len) const;
174 static uint32_t getCrc32(const uint8_t * data, size_t len);
Dmipi_syst_printer.h113 const uint8_t* data((const uint8_t*)p); in bytes2ValLE()
117 result |= (T)(*data++) << (i * 8); in bytes2ValLE()
142 int(*nativeSprintf)(char * data, size_t buffer, const char * format, ...) = _snprintf; in hostPrintf()
145 int(*nativeSprintf)(char * data, size_t buffer, const char * format, ...) = snprintf; in hostPrintf()
/mipi-sys-t-3.4.0/library/doxygen/
DApiOverview.md18 The SyS-T library has 2 levels of data states to store information. These are:
23 The global state contains data for the operation of the library itself and
33 handle and allows sending trace data without causing data races with other
51 reasons, does not use any data locking techniques. It is important to
53 analyze data races or corrupted message data output. The threading model is
61 state may need locking inside its hook functions to protect state data
70 data channels in parallel.
76 The data transmitting instrumentation calls exist in up to 4 variants for
80 trace decoding to map message data back to source locations. The name
109 data attributes. This chapter describes the attributes and how they are
[all …]
DProtocol.md19 The SyS-T Data Protocol includes various optional fields for ensuring data
27 All numeric data fields of the SyS-T Data Protocol follow little-endian byte
36 TIMESTAMPED STP data packet and ends with either a FLAG packet or a
37 MARKED data packet.
42 either a D8, D16, D32 or D64 data packet.
46 into a single D32 as long as the resulting binary payload data produces the
52 …ce starting with a time stamped data value and followed by a sequence of zero or more payload data
53 …length sequence starting with time stamped data value and followed by a sequence of zero or more p…
66 mandatory and optional data attributes. The following picture shows the layout
78 - API specific [payload data] (#syst_decoder_prot_payload) from zero up to 64 Kbytes.
[all …]
Dmainpage.md7 overhead example implementation of the SyS-T API and data protocol described
18 and typically write it to a trace aggregator for bundling the data with other
22 * Catalog messages to save data size and trace I/O bandwidth
23 * Tunnelling of other data protocols
50 - [Decoding and printing the SyS-T data protocol] (@ref mipi_syst_printer_page)
DAdapting.md23 example | Simple trace output driver that prints all IOs as hexadecimal data strings to ``stdou…
24 …ry with an STP generator. In this example code, a software encoder is used to produce the STP data.
47 * Interface the data output writer code with the trace transport.
DPrinter.md7 The project includes a SyS-T data protocol pretty printer tool
13 converts the hex dumps into binary data for decoding. The printer can
14 be easily adapted to real trace data transports by replacing the code
15 in ``printer/src/mipi_syst_main.cpp`` with an appropriate data reader.
DReference.md288 ## Raw data message macros ##
298 <td> Send short data message with 28-bit user defined payload.
306 <td> Send short data message with 60-bit user defined payload.
314 <td> Send raw data message with user defined payload.</td>
DExample.md57 SYS-T message data.
DDoxyfile.in314 # unions with only public data fields will be shown inline in the documentation
584 # containing the references data. This must be a list of .bib files. The
1292 # search data is written to a file for indexing by an external tool. With the
/mipi-sys-t-3.4.0/library/include/
Dmipi_syst.h.in133 MIPI_SYST_TYPE_RAW = 6, /**< raw binary data */
194 * into the mipi_syst_guid data structure. The following example shows
227 /** SyS-T client origin data
229 * This structure holds the GUID or header origin and unit data
295 * @param p user defined value or pointer to data
341 * the raw message data.
346 * pdesc into raw binary data. This list doesn't include
349 * the 32-bit message tag data
381 * Extend Platform global SyS-T data state
383 * This define extends the global SyS-T state data structure
[all …]
/mipi-sys-t-3.4.0/collateral/generator/
Dsyst_cgen.pl188 my $data = $hits->{$size};
193 foreach my $file_id (sort keys %{$data}) {
194 foreach my $line_id (sort {$a <=> $b} keys %{$data->{$file_id}}) {
195 foreach my $msg_id (sort {$a <=> $b} keys %{$data->{$file_id}->{$line_id}}) {
196 my $msg = $data->{$file_id}->{$line_id}->{$msg_id};
/mipi-sys-t-3.4.0/
DREADME.md4 defines a platform-independent, low bandwidth trace data protocol and software
10 MIPI SyS-T API which generates the MIPI SyS-T data protocol.
15 * An example implementation for a MIPI SyS-T data protocol printer for
29 exchange data over a transport layer. The TS uses the SyS-T library to generate
30 a trace data protocol that is sent via a transport to the DTS. The tool
31 stack on the DTS reads the data and decodes it into a format suitable for human
33 contains static trace data information like string to numeric key mappings. The
205 it into human readable CSV textual data.
208 The project includes a SyS-T data protocol pretty printer tool
214 converts the hex dumps into binary data for decoding. The printer can
[all …]
/mipi-sys-t-3.4.0/examples/client/
Dothersource.c88 unsigned char data[10]; in raw() local
91 for (i = 0; i < sizeof(data) / sizeof(data[0]); ++i) { in raw()
92 data[i] = i; in raw()
94 MIPI_SYST_WRITE(systh, MIPI_SYST_SEVERITY_MAX, WRITE_DATA_TAG, data, sizeof(data)); in raw()

12