Home
last modified time | relevance | path

Searched full:record (Results 1 – 25 of 2392) sorted by relevance

12345678910>>...96

/linux-6.12.1/tools/perf/tests/attr/
DREADME35 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-6.12.1/drivers/firmware/efi/
Defi-pstore.c81 static int efi_pstore_read_func(struct pstore_record *record, in efi_pstore_read_func() argument
94 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func()
95 record->id = generic_id(time, part, cnt); in efi_pstore_read_func()
96 record->part = part; in efi_pstore_read_func()
97 record->count = cnt; in efi_pstore_read_func()
98 record->time.tv_sec = time; in efi_pstore_read_func()
99 record->time.tv_nsec = 0; in efi_pstore_read_func()
101 record->compressed = true; in efi_pstore_read_func()
103 record->compressed = false; in efi_pstore_read_func()
104 record->ecc_notice_size = 0; in efi_pstore_read_func()
[all …]
/linux-6.12.1/tools/perf/Documentation/
Djitdump-specification.txt29 …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 …]
Dtips.txt2 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
20 To show assembler sample context control flow use perf record -b / perf report --samples 10 and the…
22 Treat branches as callchains: perf record -b ... ; perf report --branch-history
23 Show estimate cycles per function and IPC in annotate use perf record -b ... ; perf report --total-…
27 For memory address profiling, try: perf mem record / perf mem report
29 To record callchains for each sample: perf record -g
30 If call chains don't work try perf record --call-graph dwarf or --call-graph lbr
31 To record every process run by a user: perf record -u <user>
[all …]
Dperf-daemon.txt7 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 …]
Dperf-timechart.txt11 '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-6.12.1/sound/usb/6fire/
Dfirmware.c49 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-6.12.1/tools/firmware/
Dihex2fw.c54 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-6.12.1/fs/pstore/
Dplatform.c224 * 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 = detail->reason; in pstore_dump()
[all …]
Dinode.c43 struct pstore_record *record; member
59 if (private->record) { in free_pstore_private()
60 kvfree(private->record->buf); in free_pstore_private()
61 kfree(private->record->priv); in free_pstore_private()
62 kfree(private->record); in free_pstore_private()
112 rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); in pstore_ftrace_seq_show()
136 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_read()
139 ps->record->buf, ps->total_size); in pstore_file_read()
149 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_open()
180 * platform driver to erase the record from persistent store.
[all …]
Dram.c124 struct pstore_record *record) in ramoops_get_next_prz() argument
143 record->type = prz->type; in ramoops_get_next_prz()
144 record->id = id; in ramoops_get_next_prz()
182 static ssize_t ramoops_pstore_read(struct pstore_record *record) in ramoops_pstore_read() argument
185 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read()
195 record->time.tv_sec = 0; in ramoops_pstore_read()
196 record->time.tv_nsec = 0; in ramoops_pstore_read()
197 record->compressed = false; in ramoops_pstore_read()
202 record); in ramoops_pstore_read()
206 &record->time, in ramoops_pstore_read()
[all …]
/linux-6.12.1/tools/perf/tests/shell/
Drecord.sh2 # perf record tests
50 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null
52 echo "Per-thread record [Skipped event not supported]"
55 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null
57 echo "Per-thread record [Failed record]"
63 echo "Per-thread record [Failed missing output]"
75 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null
80 echo "Per-thread record [Failed record -p]"
86 echo "Per-thread record [Failed -p missing output]"
101 …if ! perf record --intr-regs=\? 2>&1 | grep -q 'available registers: AX BX CX DX SI DI BP SP IP FL…
[all …]
/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dopen-chapter.c20 * open chapter space. Records are assigned to zones based on their record name. Within each zone,
22 * record is stored in a hash table to help determine if a new record duplicates an existing one.
23 * If new metadata for an existing name arrives, the record is altered in place. The array of
24 * records is 1-based so that record number 0 can be used to indicate an unused hash slot.
28 * indexed by record number instead of by record name. The number of hash slots will always be a
33 * each zone are interleaved to attempt to preserve temporal locality and assigned to record pages.
34 * Empty or deleted records are replaced by copies of a valid record so that the record pages only
35 * contain valid records. The chapter then constructs a delta index which maps each record name to
36 * the record page on which that record can be found, which is split into index pages. These
42 * zones. In addition, depending on the distribution of record names, a new zone may have more
[all …]
Dvolume-index.h18 * The volume index is the primary top-level index for UDS. It contains records which map a record
19 * name to the chapter where a record with that name is stored. This mapping can definitively say
20 * when no record exists. However, because we only use a subset of the name for this index, it
21 * cannot definitively say that a record for the entry does exist. It can only say that if a record
25 * If the volume_index_record does not actually match the record name, the index can store a more
26 * specific collision record to disambiguate the new entry from the existing one. Index entries are
103 * The volume_index_record structure is used to facilitate processing of a record name. A client
104 * first calls uds_get_volume_index_record() to find the volume index record for a record name. The
105 * fields of the record can then be examined to determine the state of the record.
107 * If is_found is false, then the index did not find an entry for the record name. Calling
[all …]
Dvolume-index.c38 * compute the delta list number, address, and zone number from the record name in order to
39 * dispatch record handling to the correct structures.
132 get_zone_for_record(const struct volume_index_record *record) in get_zone_for_record() argument
134 return &record->sub_index->zones[record->zone_number]; in get_zone_for_record()
137 static inline u64 convert_index_to_virtual(const struct volume_index_record *record, in convert_index_to_virtual() argument
140 const struct volume_sub_index_zone *volume_index_zone = get_zone_for_record(record); in convert_index_to_virtual()
142 record->sub_index->chapter_mask); in convert_index_to_virtual()
153 static inline bool is_virtual_chapter_indexed(const struct volume_index_record *record, in is_virtual_chapter_indexed() argument
156 const struct volume_sub_index_zone *volume_index_zone = get_zone_for_record(record); in is_virtual_chapter_indexed()
387 static inline int flush_invalid_entries(struct volume_index_record *record, in flush_invalid_entries() argument
[all …]
/linux-6.12.1/drivers/usb/misc/
Dezusb.c64 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-6.12.1/tools/perf/util/arm-spe-decoder/
Darm-spe-decoder.c157 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 …]
/linux-6.12.1/fs/jbd2/
Drevoke.c19 * + 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-6.12.1/lib/pldmfw/
Dpldmfw.c109 * 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-6.12.1/include/linux/
Dpstore.h24 * 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-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c197 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-6.12.1/drivers/gpu/drm/vboxvideo/
Dvbva_base.c64 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-6.12.1/tools/perf/util/
Darm-spe.c276 static struct simd_flags arm_spe__synth_simd_flags(const struct arm_spe_record *record) in arm_spe__synth_simd_flags() argument
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()
286 if (record->type & ARM_SPE_SVE_PARTIAL_PRED) in arm_spe__synth_simd_flags()
289 if (record->type & ARM_SPE_SVE_EMPTY_PRED) in arm_spe__synth_simd_flags()
300 struct arm_spe_record *record = &speq->decoder->record; in arm_spe_prep_sample() local
303 sample->time = tsc_to_perf_time(record->timestamp, &spe->tc); in arm_spe_prep_sample()
305 sample->ip = record->from_ip; in arm_spe_prep_sample()
311 sample->simd_flags = arm_spe__synth_simd_flags(record); in arm_spe_prep_sample()
349 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_mem_sample() local
[all …]
/linux-6.12.1/tools/perf/
Dbuiltin-record.c3 * builtin-record.c
5 * Builtin record command: Record the profile of a workload
30 #include "util/record.h"
113 struct record *rec;
152 struct record { struct
213 static int record__threads_enabled(struct record *rec) in record__threads_enabled()
218 static bool switch_output_signal(struct record *rec) in switch_output_signal()
224 static bool switch_output_size(struct record *rec) in switch_output_size()
231 static bool switch_output_time(struct record *rec) in switch_output_time()
237 static u64 record__bytes_written(struct record *rec) in record__bytes_written()
[all …]
/linux-6.12.1/drivers/s390/scsi/
Dzfcp_dbf.h28 * 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 …]

12345678910>>...96