/openbmc/linux/tools/perf/tests/attr/ |
H A D | README | 35 perf record kill (test-record-basic) 36 perf record -b kill (test-record-branch-any) 37 perf record -j any kill (test-record-branch-filter-any) 38 perf record -j any_call kill (test-record-branch-filter-any_call) 39 perf record -j any_ret kill (test-record-branch-filter-any_ret) 40 perf record -j hv kill (test-record-branch-filter-hv) 41 perf record -j ind_call kill (test-record-branch-filter-ind_call) 42 perf record -j k kill (test-record-branch-filter-k) 43 perf record -j u kill (test-record-branch-filter-u) 44 perf record -c 123 kill (test-record-count) [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | efi-pstore.c | 54 static int efi_pstore_read_func(struct pstore_record *record, in efi_pstore_read_func() argument 67 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func() 68 record->id = generic_id(time, part, cnt); in efi_pstore_read_func() 69 record->part = part; in efi_pstore_read_func() 70 record->count = cnt; in efi_pstore_read_func() 71 record->time.tv_sec = time; in efi_pstore_read_func() 72 record->time.tv_nsec = 0; in efi_pstore_read_func() 74 record->compressed = true; in efi_pstore_read_func() 76 record->compressed = false; in efi_pstore_read_func() 77 record->ecc_notice_size = 0; in efi_pstore_read_func() [all …]
|
/openbmc/libpldm/src/dsp/ |
H A D | pdr.c | 39 pldm_pdr_record *record); 42 static int pldm_pdr_remove_record(pldm_pdr *repo, pldm_pdr_record *record, 47 const pldm_pdr_record *record) in get_next_record_handle() argument 49 if (record == repo->last) { in get_next_record_handle() 52 return record->next->record_handle; in get_next_record_handle() 78 pldm_pdr_record *record = malloc(sizeof(pldm_pdr_record)); in pldm_pdr_add() local 79 if (!record) { in pldm_pdr_add() 84 record->data = malloc(size); in pldm_pdr_add() 85 if (!record->data) { in pldm_pdr_add() 86 free(record); in pldm_pdr_add() [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | jitdump-specification.txt | 29 …xed size header describing the type of record and its size. It is, itself, followed by the payload… 51 IV/ Record header 53 …ader is immediately followed by records. Each record starts with a fixed size header describing th… 55 The record header is specified in order as follows: 56 * uint32_t id : a value identifying the record type (see below) 57 * uint32_t total_size: the size in bytes of the record including the header. 58 * uint64_t timestamp : a timestamp of when the record was created. 60 The following record types are defined: 61 * Value 0 : JIT_CODE_LOAD : record describing a jitted function 62 * Value 1 : JIT_CODE_MOVE : record describing an already jitted function which is moved [all …]
|
H A D | perf-daemon.txt | 7 perf-daemon - Run record sessions on background 24 monitors configured record sessions. 27 'perf record' child tasks, like: 32 …916507 916508 ... \_ perf record --control=fifo:control,ack -m 10M -e cycles --overwrite --switc… 33 …916507 916509 ... \_ perf record --control=fifo:control,ack -m 20M -e sched:* --overwrite --swit… 35 Not every 'perf record' session is suitable for running under daemon. 41 Each session is started with control setup (with perf record --control 106 Defines new record session. The value is record's command 107 line without the 'record' keyword. 109 Each perf record session is run in daemon.base/<NAME> directory. [all …]
|
/openbmc/linux/sound/usb/6fire/ |
H A D | firmware.c | 49 char error; /* true if an error occurred parsing this record */ 51 u8 max_len; /* maximum record length in whole ihex */ 77 * returns true if record is available, false otherwise. 78 * iff an error occurred, false will be returned and record->error will be true. 80 static bool usb6fire_fw_ihex_next_record(struct ihex_record *record) in usb6fire_fw_ihex_next_record() argument 86 record->error = false; in usb6fire_fw_ihex_next_record() 88 /* find begin of record (marked by a colon) */ in usb6fire_fw_ihex_next_record() 89 while (record->txt_offset < record->txt_length in usb6fire_fw_ihex_next_record() 90 && record->txt_data[record->txt_offset] != ':') in usb6fire_fw_ihex_next_record() 91 record->txt_offset++; in usb6fire_fw_ihex_next_record() [all …]
|
/openbmc/u-boot/include/ |
H A D | s_record.h | 9 * Motorola S-Record Format: 14 * an S4-record containing an address and a symbol. 16 * The extended S-record standard is as follows: 24 * is the record type. Where: 26 * 0 starting record (optional) 27 * 1 data record with 16-bit address 28 * 2 data record with 24-bit address 29 * 3 data record with 32-bit address 30 * 4 symbol record (LSI extension) 33 * 7 ending record for S3 records [all …]
|
/openbmc/linux/tools/firmware/ |
H A D | ihex2fw.c | 54 static void file_record(struct ihex_binrec *record); 134 struct ihex_binrec *record; in process_ihex() local 145 /* search for the start of record character */ in process_ihex() 151 /* Minimum record length would be about 10 characters */ in process_ihex() 153 fprintf(stderr, "Can't find valid record at line %d\n", line); in process_ihex() 162 record_size = ALIGN(sizeof(*record) + len, 4); in process_ihex() 163 record = malloc(record_size); in process_ihex() 164 if (!record) { in process_ihex() 168 memset(record, 0, record_size); in process_ihex() 169 record->len = len; in process_ihex() [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | pdr.h | 19 * opaque structure that acts as a handle to a PDR record 64 /** @brief Add a PDR record to a PDR repository, or return an error 67 * @param[in] data - pointer to a PDR record, pointing to a PDR definition as 69 * @param[in] size - size of input PDR record in bytes 71 * @param[in] terminus_handle - terminus handle of the input PDR record 72 * @param[in,out] record_handle - record handle of input PDR record. If this is set to 0 then a 73 * record handle is computed. The computed handle is assigned to both the PDR record and back into 77 * allocation fails, or -EOVERFLOW if a record handle could not be allocated 83 /** @brief Get record handle of a PDR record 86 * @pre record must point to a valid object [all …]
|
H A D | fru.h | 42 /** @brief FRU record types 86 uint8_t fru_data_major_version; //!< The major version of the FRU Record 87 uint8_t fru_data_minor_version; //!< The minor version of the FRU Record 88 uint32_t fru_table_maximum_size; //!< The size of the largest FRU Record data 89 uint32_t fru_table_length; //!< The total length of the FRU Record Table 91 //!< Record Data structures 93 uint32_t checksum; //!< The integrity checksum on the FRU Record Table data 98 * Structure representing PLDM get FRU record table request. 107 * Structure representing PLDM get FRU record table response. 155 * Structure representing the FRU record data format [all …]
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | record.sh | 2 # perf record tests 30 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null 32 echo "Per-thread record [Skipped event not supported]" 35 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null 37 echo "Per-thread record [Failed record]" 43 echo "Per-thread record [Failed missing output]" 55 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null 60 echo "Per-thread record [Failed record -p]" 66 echo "Per-thread record [Failed -p missing output]" 81 …if ! perf record --intr-regs=\? 2>&1 | grep -q 'available registers: AX BX CX DX SI DI BP SP IP FL… [all …]
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | entity-example.md | 29 # This record has: 33 # Entity Record id is the key 39 # A record can have contained entities as a four entry list or as upto 40 # two ranges of entity instances; this record has contained entities 44 # entities within a container entity; this record is not linked 63 # This record has contained entities as a four entry list 65 # This record is linked with the below record; this record and the 66 # below record have the same container entity Id and container entity 81 # This record has contained entities as a four entry list 83 # This record is linked with the above record; this record and the [all …]
|
/openbmc/linux/fs/pstore/ |
H A D | platform.c | 224 * uncompressed record size, since any record that would be expanded by in allocate_buf_for_compression() 262 void pstore_record_init(struct pstore_record *record, in pstore_record_init() argument 265 memset(record, 0, sizeof(*record)); in pstore_record_init() 267 record->psi = psinfo; in pstore_record_init() 270 record->time = ns_to_timespec64(ktime_get_real_fast_ns()); in pstore_record_init() 309 struct pstore_record record; in pstore_dump() local 311 pstore_record_init(&record, psinfo); in pstore_dump() 312 record.type = PSTORE_TYPE_DMESG; in pstore_dump() 313 record.count = oopscount; in pstore_dump() 314 record.reason = reason; in pstore_dump() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | PhysicalContext_v1.xml | 42 <Record> 45 </Record> 53 <Record> 56 </Record> 79 <Record> 82 </Record> 93 <Record> 96 </Record> 104 <Record> 107 </Record> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | PhysicalContext_v1.xml | 42 <Record> 45 </Record> 53 <Record> 56 </Record> 79 <Record> 82 </Record> 93 <Record> 96 </Record> 104 <Record> 107 </Record> [all …]
|
/openbmc/openpower-vpd-parser/vpd-manager/include/ |
H A D | ipz_parser.hpp | 125 * @brief Check ECC of a record. 130 * @param[in] iterator - Iterator to the record. 136 * @brief API to read VTOC record. 138 * The API reads VTOC record and returns the length of PT keyword. 149 * @brief API to read PT record. 153 * @param[in] itrToPT - Iterator to PT record in VPD vector. 154 * @param[in] ptLength - length of the PT record. 155 * @return List of record's offset. 172 * @brief API to read keyword and its value under a record. 174 * @param[in] iterator - pointer to the start of keywords under the record. [all …]
|
/openbmc/linux/fs/ntfs/ |
H A D | mft.c | 3 * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project. 27 * map_mft_record_page - map the page in which a specific mft record resides 28 * @ni: ntfs inode whose mft record page to map 30 * This maps the page in which the mft record of the ntfs inode @ni is situated 31 * and returns a pointer to the mft record within the mapped page. 48 * page of the wanted mft record. FIXME: We need to check for in map_mft_record_page() 60 /* If the wanted index is out of bounds the mft record doesn't exist. */ in map_mft_record_page() 65 ntfs_error(vol->sb, "Attempt to read mft record 0x%lx, " in map_mft_record_page() 82 ntfs_error(vol->sb, "Mft record 0x%lx is corrupt. " in map_mft_record_page() 95 * map_mft_record - map, pin and lock an mft record [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | ezusb.c | 64 const struct ihex_binrec *record; in ezusb_ihex_firmware_download() local 78 record = (const struct ihex_binrec *)firmware->data; in ezusb_ihex_firmware_download() 79 for (; record; record = ihex_next_binrec(record)) { in ezusb_ihex_firmware_download() 80 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { in ezusb_ihex_firmware_download() 81 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), in ezusb_ihex_firmware_download() 82 (unsigned char *)record->data, in ezusb_ihex_firmware_download() 83 be16_to_cpu(record->len), WRITE_EXT_RAM); in ezusb_ihex_firmware_download() 88 be32_to_cpu(record->addr), record->data, in ezusb_ihex_firmware_download() 89 be16_to_cpu(record->len)); in ezusb_ihex_firmware_download() 98 record = (const struct ihex_binrec *)firmware->data; in ezusb_ihex_firmware_download() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_ekanalyzer.c | 63 * Mfg.ID, 1 byte of Picmg record Id, and 162 { 0x04, "Backplane Point to Point Connectivity Record" }, 163 { 0x10, "Address Table Record" }, 164 { 0x11, "Shelf Power Distribution Record" }, 165 { 0x12, "Shelf Activation and Power Management Record" }, 166 { 0x13, "Shelf Manager IP Connection Record" }, 167 { 0x14, "Board Point to Point Connectivity Record" }, 168 { 0x15, "Radial IPMB-0 Link Mapping Record" }, 169 { 0x16, "Module Current Requirements Record" }, 170 { 0x17, "Carrier Activation and Power Management Record" }, [all …]
|
/openbmc/linux/tools/perf/util/arm-spe-decoder/ |
H A D | arm-spe-decoder.c | 157 memset(&decoder->record, 0x0, sizeof(decoder->record)); in arm_spe_read_record() 158 decoder->record.context_id = (u64)-1; in arm_spe_read_record() 170 decoder->record.timestamp = payload; in arm_spe_read_record() 177 decoder->record.from_ip = ip; in arm_spe_read_record() 179 decoder->record.to_ip = ip; in arm_spe_read_record() 181 decoder->record.virt_addr = ip; in arm_spe_read_record() 183 decoder->record.phys_addr = ip; in arm_spe_read_record() 187 decoder->record.latency = payload; in arm_spe_read_record() 190 decoder->record.context_id = payload; in arm_spe_read_record() 195 decoder->record.op |= ARM_SPE_OP_LDST; in arm_spe_read_record() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_coredump.c | 197 static void bnxt_fill_cmdline(struct bnxt_coredump_record *record) in bnxt_fill_cmdline() argument 204 sizeof(record->commandline) - 1); in bnxt_fill_cmdline() 205 if (len && !copy_from_user(record->commandline, in bnxt_fill_cmdline() 208 if (record->commandline[i]) in bnxt_fill_cmdline() 211 record->commandline[i] = ' '; in bnxt_fill_cmdline() 213 record->commandline[last + 1] = 0; in bnxt_fill_cmdline() 218 strscpy(record->commandline, current->comm, TASK_COMM_LEN); in bnxt_fill_cmdline() 222 bnxt_fill_coredump_record(struct bnxt *bp, struct bnxt_coredump_record *record, in bnxt_fill_coredump_record() argument 231 memset(record, 0, sizeof(*record)); in bnxt_fill_coredump_record() 232 memcpy(record->signature, "cOrE", 4); in bnxt_fill_coredump_record() [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_inband_sdr.robot | 23 Verify Get SDR For Maximum Record Via IPMI 24 [Documentation] Verify Get SDR for each and every record one by one via IPMI lanplus. 27 # Gets the Total Record Count from SDR Info and the last Record entry number. 28 ${record_count} ${last_record}= Get Record Count And Last Record From SDR 30 # Validate each and every record till the last record. 31 FOR ${record} IN RANGE 0 ${record_count} 32 # Convert number to hexadecimal record ID. 33 ${recordhex}= Convert To Hex ${record} length=4 lowercase=yes 42 # If the record ID reaches the last data available, the next record ID will be ff ff. 43 # eg, If total record ID available is 115, record IDs : 0 - 114, [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | msg.py | 82 def format(self, record): argument 83 record.levelname = self.getLevelName(record.levelno) 84 if record.levelno == self.PLAIN: 85 msg = record.getMessage() 88 record = self.colorize(record) 89 msg = logging.Formatter.format(self, record) 90 if hasattr(record, 'bb_exc_formatted'): 91 msg += '\n' + ''.join(record.bb_exc_formatted) 94 def colorize(self, record): argument 95 color = self.COLORS[record.levelno] [all …]
|
/openbmc/linux/fs/jbd2/ |
H A D | revoke.c | 19 * + Recovery: during recovery we record the transaction ID of all 36 * latter: journaling a block cancels any revoke record for that block 98 /* Each revoke record represents one single revoked block. During 140 struct jbd2_revoke_record_s *record; in insert_revoke_hash() local 145 record = kmem_cache_alloc(jbd2_revoke_record_cache, gfp_mask); in insert_revoke_hash() 146 if (!record) in insert_revoke_hash() 149 record->sequence = seq; in insert_revoke_hash() 150 record->blocknr = blocknr; in insert_revoke_hash() 153 list_add(&record->hash, hash_list); in insert_revoke_hash() 158 /* Find a revoke record i 164 struct jbd2_revoke_record_s *record; find_revoke_record() local 425 struct jbd2_revoke_record_s *record; jbd2_journal_cancel_revoke() local 495 struct jbd2_revoke_record_s *record; jbd2_clear_buffer_revoked_flags() local 535 struct jbd2_revoke_record_s *record; jbd2_journal_write_revoke_records() local 575 write_one_revoke_record(transaction_t * transaction,struct list_head * log_bufs,struct buffer_head ** descriptorp,int * offsetp,struct jbd2_revoke_record_s * record) write_one_revoke_record() argument 687 struct jbd2_revoke_record_s *record; jbd2_journal_set_revoke() local 711 struct jbd2_revoke_record_s *record; jbd2_journal_test_revoke() local 730 struct jbd2_revoke_record_s *record; jbd2_journal_clear_revoke() local [all...] |
/openbmc/linux/lib/pldmfw/ |
H A D | pldmfw.c | 109 * firmware record. 119 * * Extract a pointer to the start of the record area 172 /* extract a pointer to the record area, which just follows the main in pldm_parse_header() 250 * @record: pointer to the record this TLV belongs too 259 pldm_parse_desc_tlvs(struct pldmfw_priv *data, struct pldmfw_record *record, u8 desc_count) in pldm_parse_desc_tlvs() argument 298 list_add_tail(&desc->entry, &record->descs); in pldm_parse_desc_tlvs() 305 * pldm_parse_one_record - Verify size of one PLDM record 307 * @__record: pointer to the record to check 309 * This function checks that the record size does not exceed either the size 312 * It also verifies that the recorded length of the start of the record [all …]
|