| /linux/tools/perf/tests/attr/ |
| A D | README | 35 perf record kill (test-record-basic) 36 perf record -b kill (test-record-branch-any) 44 perf record -c 123 kill (test-record-count) 45 perf record -d kill (test-record-data) 46 perf record -F 100 kill (test-record-freq) 49 perf record --call-graph dwarf kill (test-record-graph-dwarf) 50 perf record --call-graph fp kill (test-record-graph-fp) 52 perf record -e '{cycles,instructions}' kill (test-record-group1) 54 perf record -D kill (test-record-no-delay) 57 perf record -c 100 -P kill (test-record-period) [all …]
|
| /linux/drivers/firmware/efi/ |
| A D | efi-pstore.c | 96 record->part = part; in efi_pstore_read_func() 97 record->count = cnt; in efi_pstore_read_func() 123 record->count = 0; in efi_pstore_read_func() 132 if (!record->buf) in efi_pstore_read_func() 138 kfree(record->buf); in efi_pstore_read_func() 149 if (!record->priv) { in efi_pstore_read_func() 150 kfree(record->buf); in efi_pstore_read_func() 209 record->id = generic_id(record->time.tv_sec, record->part, in efi_pstore_write() 210 record->count); in efi_pstore_write() 216 record->type, record->part, record->count, in efi_pstore_write() [all …]
|
| /linux/sound/usb/6fire/ |
| A D | firmware.c | 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() 92 if (record->txt_offset == record->txt_length) in usb6fire_fw_ihex_next_record() 97 if (record->txt_offset + 8 > record->txt_length) { in usb6fire_fw_ihex_next_record() 102 record->len = usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record() 105 record->address = usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record() 108 record->address |= usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record() 116 if (record->txt_offset + 2 * (record->len + 1) > record->txt_length) { in usb6fire_fw_ihex_next_record() 121 record->data[i] = usb6fire_fw_ihex_hex(record->txt_data in usb6fire_fw_ihex_next_record() 125 usb6fire_fw_ihex_hex(record->txt_data + record->txt_offset, &crc); in usb6fire_fw_ihex_next_record() [all …]
|
| /linux/fs/pstore/ |
| A D | platform.c | 265 memset(record, 0, sizeof(*record)); in pstore_record_init() 404 record.size = c; in pstore_console_write() 440 if (record->buf) in pstore_write_user_compat() 443 record->buf = vmemdup_user(buf, record->size); in pstore_write_user_compat() 449 ret = record->psi->write(record); in pstore_write_user_compat() 633 memcpy(workspace + unzipped_len, record->buf + record->size, in decompress_record() 685 record = kzalloc(sizeof(*record), GFP_KERNEL); in pstore_get_backend_records() 686 if (!record) { in pstore_get_backend_records() 692 record->size = psi->read(record); in pstore_get_backend_records() 696 kfree(record); in pstore_get_backend_records() [all …]
|
| A D | inode.c | 59 if (private->record) { in free_pstore_private() 62 kfree(private->record); in free_pstore_private() 185 struct pstore_record *record = p->record; in pstore_unlink() local 187 if (!record->psi->erase) in pstore_unlink() 200 record->psi->erase(record); in pstore_unlink() 342 size_t size = record->size + record->ecc_notice_size; in pstore_mkfile() 351 if (pos->record->type == record->type && in pstore_mkfile() 352 pos->record->id == record->id && in pstore_mkfile() 353 pos->record->psi == record->psi) in pstore_mkfile() 364 record->psi->name, record->id, in pstore_mkfile() [all …]
|
| A D | ram.c | 144 record->id = id; in ramoops_get_next_prz() 195 record->time.tv_sec = 0; in ramoops_pstore_read() 202 record); in ramoops_pstore_read() 227 record); in ramoops_pstore_read() 262 record->id = 0; in ramoops_pstore_read() 276 record->buf = kvzalloc(size + record->ecc_notice_size + 1, GFP_KERNEL); in ramoops_pstore_read() 322 persistent_ram_write(cxt->cprz, record->buf, record->size); in ramoops_pstore_write() 338 record->size); in ramoops_pstore_write() 364 if (record->part != 1) in ramoops_pstore_write() 388 size = record->size; in ramoops_pstore_write() [all …]
|
| A D | zone.c | 707 return psz_kmsg_erase(cxt, cxt->kpszs[record->id], record); in psz_pstore_erase() 837 cnt = record->size; in psz_record_write() 838 buf = record->buf; in psz_record_write() 980 if (!record->buf) { in psz_kmsg_read() 986 if (!record->buf) in psz_kmsg_read() 993 kfree(record->buf); in psz_kmsg_read() 1018 ret = pstore_ftrace_combine_log(&record->buf, &record->size, in psz_ftrace_read() 1028 record->id = 0; in psz_ftrace_read() 1029 return record->size ? record->size : -ENOMSG; in psz_ftrace_read() 1047 if (!record->buf) in psz_record_read() [all …]
|
| /linux/drivers/usb/misc/ |
| A D | ezusb.c | 64 const struct ihex_binrec *record; in ezusb_ihex_firmware_download() local 79 for (; record; record = ihex_next_binrec(record)) { 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() 99 for (; record; record = ihex_next_binrec(record)) { in ezusb_ihex_firmware_download() 102 (unsigned char *)record->data, in ezusb_ihex_firmware_download() 103 be16_to_cpu(record->len), WRITE_INT_RAM); in ezusb_ihex_firmware_download() 108 be32_to_cpu(record->addr), record->data, in ezusb_ihex_firmware_download() [all …]
|
| /linux/tools/perf/util/arm-spe-decoder/ |
| 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() 197 decoder->record.op |= ARM_SPE_OP_ST; in arm_spe_read_record() [all …]
|
| /linux/tools/firmware/ |
| A D | ihex2fw.c | 164 if (!record) { in process_ihex() 169 record->len = len; in process_ihex() 197 if (!record->len) in process_ihex() 201 file_record(record); in process_ihex() 205 if (record->addr || record->len) { in process_ihex() 214 if (record->addr || record->len != 2) { in process_ihex() 222 offset = record->data[0] << 8 | record->data[1]; in process_ihex() 228 if (record->addr || record->len != 4) { in process_ihex() 241 file_record(record); in process_ihex() 261 record->next = *p; in file_record() [all …]
|
| /linux/fs/jbd2/ |
| A D | revoke.c | 146 if (!record) in insert_revoke_hash() 149 record->sequence = seq; in insert_revoke_hash() 150 record->blocknr = blocknr; in insert_revoke_hash() 173 return record; in find_revoke_record() 175 record = (struct jbd2_revoke_record_s *) record->hash.next; in find_revoke_record() 446 if (record) { in jbd2_journal_cancel_revoke() 450 list_del(&record->hash); in jbd2_journal_cancel_revoke() 499 record->blocknr, in jbd2_clear_buffer_revoked_flags() 557 list_del(&record->hash); in jbd2_journal_write_revoke_records() 690 if (record) { in jbd2_journal_set_revoke() [all …]
|
| /linux/arch/m68k/include/asm/ |
| A D | config.h | 11 extern int amiga_parse_bootinfo(const struct bi_record *record); 12 extern int apollo_parse_bootinfo(const struct bi_record *record); 13 extern int atari_parse_bootinfo(const struct bi_record *record); 14 extern int bvme6000_parse_bootinfo(const struct bi_record *record); 15 extern int hp300_parse_bootinfo(const struct bi_record *record); 16 extern int mac_parse_bootinfo(const struct bi_record *record); 17 extern int mvme147_parse_bootinfo(const struct bi_record *record); 18 extern int mvme16x_parse_bootinfo(const struct bi_record *record); 19 extern int q40_parse_bootinfo(const struct bi_record *record); 20 extern int virt_parse_bootinfo(const struct bi_record *record);
|
| /linux/drivers/md/dm-vdo/indexer/ |
| A D | volume-index.c | 134 return &record->sub_index->zones[record->zone_number]; in get_zone_for_record() 435 } while (!record->delta_entry.at_end && (key > record->delta_entry.key)); in get_volume_index_entry() 491 record->mutex = NULL; in get_volume_sub_index_record() 492 record->name = name; in get_volume_sub_index_record() 519 record->is_found = in get_volume_sub_index_record() 520 (!record->delta_entry.at_end && (record->delta_entry.key == address)); in get_volume_sub_index_record() 527 record->is_collision = record->delta_entry.is_collision; in get_volume_sub_index_record() 549 record); in uds_get_volume_index_record() 555 record); in uds_get_volume_index_record() 583 record->is_found ? record->name->name : NULL); in uds_put_volume_index_record() [all …]
|
| A D | open-chapter.c | 102 struct uds_volume_record *record; in probe_chapter_slots() local 159 struct uds_volume_record *record; in uds_put_open_chapter() local 173 record->name = *name; in uds_put_open_chapter() 174 record->data = *metadata; in uds_put_open_chapter() 248 *record = *fill_record; in fill_delta_chapter_index() 296 struct uds_volume_record *record; in uds_save_open_chapter() local 335 sizeof(*record)); in uds_save_open_chapter() 361 struct uds_volume_record record; in load_version20() local 382 sizeof(record)); in load_version20() 388 &record.name); in load_version20() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_coredump.c | 208 if (record->commandline[i]) in bnxt_fill_cmdline() 231 memset(record, 0, sizeof(*record)); in bnxt_fill_coredump_record() 233 record->flags = 0; in bnxt_fill_coredump_record() 234 record->low_version = 0; in bnxt_fill_coredump_record() 235 record->high_version = 1; in bnxt_fill_coredump_record() 236 record->asic_state = 0; in bnxt_fill_coredump_record() 238 sizeof(record->system_name)); in bnxt_fill_coredump_record() 246 bnxt_fill_cmdline(record); in bnxt_fill_coredump_record() 254 strscpy(record->os_name, utsname()->sysname, sizeof(record->os_name)); in bnxt_fill_coredump_record() 266 record->asic_id2 = 0; in bnxt_fill_coredump_record() [all …]
|
| /linux/lib/pldmfw/ |
| A D | pldmfw.c | 323 struct pldmfw_record *record; in pldm_parse_one_record() local 331 record = kzalloc(sizeof(*record), GFP_KERNEL); in pldm_parse_one_record() 332 if (!record) in pldm_parse_one_record() 335 INIT_LIST_HEAD(&record->descs); in pldm_parse_one_record() 356 record->component_bitmap = bitmap_zalloc(record->component_bitmap_len, in pldm_parse_one_record() 358 if (!record->component_bitmap) in pldm_parse_one_record() 560 if (record->component_bitmap) { in pldmfw_free_priv() 565 list_del(&record->entry); in pldmfw_free_priv() 566 kfree(record); in pldmfw_free_priv() 696 struct pldmfw_record *record; in pldm_find_matching_record() local [all …]
|
| /linux/drivers/gpu/drm/vboxvideo/ |
| A D | vbva_base.c | 64 struct vbva_record *record; in vbva_write() local 69 record = vbva_ctx->record; in vbva_write() 72 !record || !(record->len_and_flags & VBVA_F_RECORD_PARTIAL)) in vbva_write() 98 record->len_and_flags += chunk; in vbva_write() 158 vbva_ctx->record = NULL; in vbva_disable() 167 struct vbva_record *record; in vbva_buffer_begin_update() local 187 record->len_and_flags = VBVA_F_RECORD_PARTIAL; in vbva_buffer_begin_update() 190 vbva_ctx->record = record; in vbva_buffer_begin_update() 197 struct vbva_record *record = vbva_ctx->record; in vbva_buffer_end_update() local 199 WARN_ON(!vbva_ctx->vbva || !record || in vbva_buffer_end_update() [all …]
|
| /linux/tools/tracing/rtla/src/ |
| A D | timerlat_aa.c | 149 struct trace_seq *s, struct tep_record *record, in timerlat_aa_irq_latency() argument 157 taa_data->tlat_irq_timstamp = record->ts; in timerlat_aa_irq_latency() 217 struct trace_seq *s, struct tep_record *record, in timerlat_aa_thread_latency() argument 225 taa_data->tlat_thread_timstamp = record->ts; in timerlat_aa_thread_latency() 251 tep_get_field_val(s, event, "context", record, &thread, 1); in timerlat_aa_handler() 273 tep_get_field_val(s, event, "start", record, &start, 1); in timerlat_aa_nmi_handler() 320 tep_get_field_val(s, event, "start", record, &start, 1); in timerlat_aa_irq_handler() 321 tep_get_field_val(s, event, "vector", record, &vector, 1); in timerlat_aa_irq_handler() 416 tep_get_field_val(s, event, "start", record, &start, 1); in timerlat_aa_softirq_handler() 417 tep_get_field_val(s, event, "vector", record, &vector, 1); in timerlat_aa_softirq_handler() [all …]
|
| /linux/tools/perf/Documentation/ |
| A D | jitdump-specification.txt | 67 The payload of the record must immediately follow the record header without padding. 69 V/ JIT_CODE_LOAD record 72 The record has the following fields following the fixed-size record header in order: 83 * record header 94 VI/ JIT_CODE_MOVE record 98 The record has the following fields following the fixed-size record header in order: 115 VII/ JIT_DEBUG_INFO record 117 The record type is optional. 121 The record has the following fields following the fixed-size record header in order: 139 VIII/ JIT_CODE_CLOSE record [all …]
|
| A D | tips.txt | 2 Sample related events with: perf record -e '{cycles,instructions}:S' 8 Save output of perf stat using: perf stat record <target workload> 19 Profiling branch (mis)predictions with: perf record -b / perf report 27 For memory address profiling, try: perf mem record / perf mem report 29 To record callchains for each sample: perf record -g 31 To record every process run by a user: perf record -u <user> 33 To not record events from perf itself add --exclude-perf 34 Skip collecting build-id when recording: perf record -B 35 To change sampling frequency to 100 Hz: perf record -F 100 46 System-wide collection from all CPUs: perf record -a [all …]
|
| A D | perf-daemon.txt | 7 perf-daemon - Run record sessions on background 24 monitors configured record sessions. 27 'perf record' child tasks, like: 106 Defines new record session. The value is record's command 107 line without the 'record' keyword. 114 Example with 2 record sessions: 183 [ perf record: dump data: Woken up 1 times ] 184 [ perf record: Dump perf.data.2020123017013149 ] 194 [ perf record: dump data: Woken up 1 times ] 197 [ perf record: dump data: Woken up 1 times ] [all …]
|
| /linux/tools/perf/ |
| A D | builtin-record.c | 113 struct record *rec; 152 struct record { struct 626 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event() 722 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace() 1435 struct record *rec = container_of(tool, struct record, tool); in process_sample_event() 2990 struct record *rec = (struct record *)opt->value; in record__parse_event_enable_time() 3293 struct record *rec = container_of(tool, struct record, tool); in process_timestamp_boundary() 3329 static struct record record = { variable 3976 struct record *rec = &record; in cmd_record() 4276 struct record *rec = &record; in snapshot_sig_handler() [all …]
|
| /linux/tools/perf/util/ |
| A D | arm-spe.c | 280 if ((record->op & ARM_SPE_OP_LDST) && (record->op & ARM_SPE_OP_SVE_LDST)) in arm_spe__synth_simd_flags() 283 if ((record->op & ARM_SPE_OP_OTHER) && (record->op & ARM_SPE_OP_SVE_OTHER)) in arm_spe__synth_simd_flags() 300 struct arm_spe_record *record = &speq->decoder->record; in arm_spe_prep_sample() local 349 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_mem_sample() local 369 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_branch_sample() local 387 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_instruction_sample() local 441 switch (record->source) { in arm_spe__synth_data_source_neoverse() 549 const struct arm_spe_record *record = &speq->decoder->record; in arm_spe_sample() local 670 record = &speq->decoder->record; in arm_spe_run_decoder() 696 record = &speq->decoder->record; in arm_spe_run_decoder() [all …]
|
| /linux/tools/perf/tests/shell/ |
| A D | record_bpf_filter.sh | 25 if ! perf record -e task-clock --filter 'period > 1' \ 44 if ! perf record -e task-clock -c 10000 --filter 'ip < 0xffffffff00000000' \ 70 if ! perf record -e task-clock --filter 'cpu > 0' \ 78 if ! perf record --sample-cpu -e task-clock --filter 'cpu > 0' \ 92 if ! perf record -e task-clock --filter 'period > 1000 || ip > 0' \ 100 if ! perf record -e task-clock --filter 'cpu > 0 || ip > 0' \ 108 if ! perf record -e task-clock --filter 'period > 0 || code_pgsz > 4096' \ 122 if ! perf record -e task-clock --filter 'period > 100000' \ 153 if ! perf record -e task-clock --filter 'cgroup == /' \ 161 if ! perf record -e task-clock --filter 'cgroup == /' \
|
| /linux/arch/powerpc/kernel/ |
| A D | nvram_64.c | 392 if (record->part > 1 || (record->type != PSTORE_TYPE_DMESG)) in nvram_pstore_write() 402 if (record->compressed) in nvram_pstore_write() 407 record->count); in nvram_pstore_write() 412 record->id = record->part; in nvram_pstore_write() 442 record->time.tv_sec = 0; in nvram_pstore_read() 457 record->time.tv_sec = 0; in nvram_pstore_read() 467 record->time.tv_sec = 0; in nvram_pstore_read() 496 record->count = 0; in nvram_pstore_read() 499 record->id = id_no; in nvram_pstore_read() 519 if (record->buf == NULL) in nvram_pstore_read() [all …]
|