/Linux-v6.1/tools/perf/tests/attr/ |
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 …]
|
/Linux-v6.1/drivers/firmware/efi/ |
D | efi-pstore.c | 52 static int efi_pstore_read_func(struct pstore_record *record, in efi_pstore_read_func() argument 65 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func() 66 record->id = generic_id(time, part, cnt); in efi_pstore_read_func() 67 record->part = part; in efi_pstore_read_func() 68 record->count = cnt; in efi_pstore_read_func() 69 record->time.tv_sec = time; in efi_pstore_read_func() 70 record->time.tv_nsec = 0; in efi_pstore_read_func() 72 record->compressed = true; in efi_pstore_read_func() 74 record->compressed = false; in efi_pstore_read_func() 75 record->ecc_notice_size = 0; in efi_pstore_read_func() [all …]
|
/Linux-v6.1/tools/perf/Documentation/ |
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 …]
|
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 …]
|
D | tips.txt | 2 Sample related events with: perf record -e '{cycles,instructions}:S' 7 Save output of perf stat using: perf stat record <target workload> 17 Profiling branch (mis)predictions with: perf record -b / perf report 18 To show assembler sample contexts use perf record -b / perf script -F +brstackinsn --xed 23 For memory address profiling, try: perf mem record / perf mem report 25 To record callchains for each sample: perf record -g 26 To record every process run by a user: perf record -u <user> 27 Skip collecting build-id when recording: perf record -B 28 To change sampling frequency to 100 Hz: perf record -F 100 33 System-wide collection from all CPUs: perf record -a [all …]
|
D | perf-timechart.txt | 11 'perf timechart' [<timechart options>] {record} [<record options>] 17 'perf timechart record <command>' to record the system level events 20 but it's possible to record IO (disk, network) activity using -I argument. 83 RECORD OPTIONS 87 Record only power-related events 90 Record only tasks-related events 93 Record only io-related events 101 $ perf timechart record git pull 103 [ perf record: Woken up 13 times to write data ] 104 [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ] [all …]
|
/Linux-v6.1/sound/usb/6fire/ |
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 …]
|
/Linux-v6.1/tools/firmware/ |
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 …]
|
/Linux-v6.1/fs/pstore/ |
D | platform.c | 371 void pstore_record_init(struct pstore_record *record, in pstore_record_init() argument 374 memset(record, 0, sizeof(*record)); in pstore_record_init() 376 record->psi = psinfo; in pstore_record_init() 379 record->time = ns_to_timespec64(ktime_get_real_fast_ns()); in pstore_record_init() 417 struct pstore_record record; in pstore_dump() local 419 pstore_record_init(&record, psinfo); in pstore_dump() 420 record.type = PSTORE_TYPE_DMESG; in pstore_dump() 421 record.count = oopscount; in pstore_dump() 422 record.reason = reason; in pstore_dump() 423 record.part = part; in pstore_dump() [all …]
|
D | inode.c | 40 struct pstore_record *record; member 56 if (private->record) { in free_pstore_private() 57 kfree(private->record->buf); in free_pstore_private() 58 kfree(private->record->priv); in free_pstore_private() 59 kfree(private->record); in free_pstore_private() 111 rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); in pstore_ftrace_seq_show() 135 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_read() 138 ps->record->buf, ps->total_size); in pstore_file_read() 148 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_open() 179 * platform driver to erase the record from persistent store. [all …]
|
D | ram.c | 118 struct pstore_record *record) in ramoops_get_next_prz() argument 137 record->type = prz->type; in ramoops_get_next_prz() 138 record->id = id; in ramoops_get_next_prz() 176 static ssize_t ramoops_pstore_read(struct pstore_record *record) in ramoops_pstore_read() argument 179 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read() 189 record->time.tv_sec = 0; in ramoops_pstore_read() 190 record->time.tv_nsec = 0; in ramoops_pstore_read() 191 record->compressed = false; in ramoops_pstore_read() 196 record); in ramoops_pstore_read() 200 &record->time, in ramoops_pstore_read() [all …]
|
/Linux-v6.1/fs/ntfs/ |
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 …]
|
D | mft.h | 3 * mft.h - Defines for mft record handling in NTFS Linux kernel driver. 34 * @ni: ntfs inode structure of mft record 36 * Call flush_dcache_page() for the page in which an mft record resides. 38 * This must be called every time an mft record is modified, just after the 49 * mark_mft_record_dirty - set the mft record and the page containing it dirty 50 * @ni: ntfs inode describing the mapped mft record 52 * Set the mapped (extent) mft record of the (base or extent) ntfs inode @ni, 53 * as well as the page containing the mft record, dirty. Also, mark the base 54 * vfs inode dirty. This ensures that any changes to the mft record are 57 * NOTE: Do not do anything if the mft record is already marked dirty. [all …]
|
/Linux-v6.1/drivers/usb/misc/ |
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 …]
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
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 …]
|
/Linux-v6.1/fs/jbd2/ |
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 in the journal's hash table. */ [all …]
|
/Linux-v6.1/lib/pldmfw/ |
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 …]
|
/Linux-v6.1/include/linux/ |
D | pstore.h | 24 * pstore record types (see fs/pstore/platform.c for pstore_type_names[]) 51 * struct pstore_record - details of a pstore record entry 53 * @type: pstore record type 54 * @id: per-type unique identifier for record 55 * @time: timestamp of the record 56 * @buf: pointer to record contents 62 * when the record is freed. 68 * @part: position in a multipart record 132 * Read next available backend record. Called after a successful 135 * @record: [all …]
|
/Linux-v6.1/drivers/gpu/drm/vboxvideo/ |
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 174 WARN_ON(vbva_ctx->buffer_overflow || vbva_ctx->record); in vbva_buffer_begin_update() 186 record = &vbva_ctx->vbva->records[vbva_ctx->vbva->record_free_index]; in vbva_buffer_begin_update() 187 record->len_and_flags = VBVA_F_RECORD_PARTIAL; in vbva_buffer_begin_update() 189 /* Remember which record we are using. */ in vbva_buffer_begin_update() [all …]
|
/Linux-v6.1/tools/perf/util/arm-spe-decoder/ |
D | arm-spe-decoder.c | 153 memset(&decoder->record, 0x0, sizeof(decoder->record)); in arm_spe_read_record() 154 decoder->record.context_id = (u64)-1; in arm_spe_read_record() 166 decoder->record.timestamp = payload; in arm_spe_read_record() 173 decoder->record.from_ip = ip; in arm_spe_read_record() 175 decoder->record.to_ip = ip; in arm_spe_read_record() 177 decoder->record.virt_addr = ip; in arm_spe_read_record() 179 decoder->record.phys_addr = ip; in arm_spe_read_record() 183 decoder->record.latency = payload; in arm_spe_read_record() 186 decoder->record.context_id = payload; in arm_spe_read_record() 191 decoder->record.op = ARM_SPE_ST; in arm_spe_read_record() [all …]
|
/Linux-v6.1/tools/lib/traceevent/plugins/ |
D | plugin_sched_switch.c | 34 struct tep_record *record, in write_and_save_comm() argument 40 comm = (char *)(record->data + field->offset); in write_and_save_comm() 54 struct tep_record *record, in sched_wakeup_handler() argument 60 if (tep_get_field_val(s, event, "pid", record, &val, 1)) in sched_wakeup_handler() 65 write_and_save_comm(field, record, s, val); in sched_wakeup_handler() 70 if (tep_get_field_val(s, event, "prio", record, &val, 0) == 0) in sched_wakeup_handler() 73 if (tep_get_field_val(s, event, "success", record, &val, 1) == 0) in sched_wakeup_handler() 76 if (tep_get_field_val(s, event, "target_cpu", record, &val, 0) == 0) in sched_wakeup_handler() 83 struct tep_record *record, in sched_switch_handler() argument 89 if (tep_get_field_val(s, event, "prev_pid", record, &val, 1)) in sched_switch_handler() [all …]
|
D | plugin_kvm.c | 255 static int print_exit_reason(struct trace_seq *s, struct tep_record *record, in print_exit_reason() argument 262 if (tep_get_field_val(s, event, field, record, &val, 1) < 0) in print_exit_reason() 265 if (tep_get_field_val(s, event, "isa", record, &isa, 0) < 0) in print_exit_reason() 276 static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, in kvm_exit_handler() argument 281 if (print_exit_reason(s, record, event, "exit_reason") < 0) in kvm_exit_handler() 284 tep_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); in kvm_exit_handler() 286 if (tep_get_field_val(s, event, "info1", record, &info1, 0) >= 0 in kvm_exit_handler() 287 && tep_get_field_val(s, event, "info2", record, &info2, 0) >= 0) in kvm_exit_handler() 299 struct tep_record *record, in kvm_emulate_insn_handler() argument 307 if (tep_get_field_val(s, event, "rip", record, &rip, 1) < 0) in kvm_emulate_insn_handler() [all …]
|
/Linux-v6.1/arch/m68k/include/asm/ |
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-v6.1/drivers/s390/scsi/ |
D | zfcp_dbf.h | 28 * struct zfcp_dbf_rec_trigger - trace record for triggered recovery action 42 * struct zfcp_dbf_rec_running - trace record for running recovery 58 * enum zfcp_dbf_rec_id - recovery trace record id 68 * struct zfcp_dbf_rec - trace record for error recovery actions 69 * @id: unique number of recovery record type 77 * @u: record type specific data 97 * enum zfcp_dbf_san_id - SAN trace record identifier 98 * @ZFCP_DBF_SAN_REQ: request trace record id 99 * @ZFCP_DBF_SAN_RES: response trace record id 100 * @ZFCP_DBF_SAN_ELS: extended link service record id [all …]
|
/Linux-v6.1/tools/perf/ |
D | builtin-record.c | 3 * builtin-record.c 5 * Builtin record command: Record the profile of a workload 30 #include "util/record.h" 114 struct record *rec; 153 struct record { struct 203 static int record__threads_enabled(struct record *rec) in record__threads_enabled() argument 208 static bool switch_output_signal(struct record *rec) in switch_output_signal() 214 static bool switch_output_size(struct record *rec) in switch_output_size() 221 static bool switch_output_time(struct record *rec) in switch_output_time() 227 static u64 record__bytes_written(struct record *rec) in record__bytes_written() [all …]
|