Home
last modified time | relevance | path

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

12345678910>>...149

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/drivers/firmware/efi/
Defi-pstore.c54 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 …]
/kernel/linux/linux-5.10/drivers/firmware/efi/
Defi-pstore.c44 struct pstore_record *record) in efi_pstore_read_func() argument
61 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func()
62 record->id = generic_id(time, part, cnt); in efi_pstore_read_func()
63 record->part = part; in efi_pstore_read_func()
64 record->count = cnt; in efi_pstore_read_func()
65 record->time.tv_sec = time; in efi_pstore_read_func()
66 record->time.tv_nsec = 0; in efi_pstore_read_func()
68 record->compressed = true; in efi_pstore_read_func()
70 record->compressed = false; in efi_pstore_read_func()
71 record->ecc_notice_size = 0; in efi_pstore_read_func()
[all …]
/kernel/linux/linux-6.6/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 …]
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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
Drecord.sh2 # 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 …]
/kernel/linux/linux-6.6/fs/pstore/
Dplatform.c229 * uncompressed record size, since any record that would be expanded by in allocate_buf_for_compression()
267 void pstore_record_init(struct pstore_record *record, in pstore_record_init() argument
270 memset(record, 0, sizeof(*record)); in pstore_record_init()
272 record->psi = psinfo; in pstore_record_init()
275 record->time = ns_to_timespec64(ktime_get_real_fast_ns()); in pstore_record_init()
325 struct pstore_record record; in pstore_blackbox_dump() local
354 pstore_record_init(&record, psinfo); in pstore_blackbox_dump()
356 record.type = PSTORE_TYPE_BLACKBOX; in pstore_blackbox_dump()
357 record.reason = reason; in pstore_blackbox_dump()
367 record.buf = psinfo->buf; in pstore_blackbox_dump()
[all …]
/kernel/linux/linux-5.10/fs/pstore/
Dplatform.c376 void pstore_record_init(struct pstore_record *record, in pstore_record_init() argument
379 memset(record, 0, sizeof(*record)); in pstore_record_init()
381 record->psi = psinfo; in pstore_record_init()
384 record->time = ns_to_timespec64(ktime_get_real_fast_ns()); in pstore_record_init()
435 struct pstore_record record; in pstore_blackbox_dump() local
463 pstore_record_init(&record, psinfo); in pstore_blackbox_dump()
465 record.type = PSTORE_TYPE_BLACKBOX; in pstore_blackbox_dump()
466 record.reason = reason; in pstore_blackbox_dump()
476 record.buf = psinfo->buf; in pstore_blackbox_dump()
486 record.size = sizeof(struct fault_log_info) + pfault_log_info->len; in pstore_blackbox_dump()
[all …]
/kernel/linux/linux-5.10/fs/ntfs/
Dmft.c3 * 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 …]
/kernel/linux/linux-6.6/fs/ntfs/
Dmft.c3 * 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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/usb/misc/
Dezusb.c76 const struct ihex_binrec *record; in ezusb_ihex_firmware_download() local
90 record = (const struct ihex_binrec *)firmware->data; in ezusb_ihex_firmware_download()
91 for (; record; record = ihex_next_binrec(record)) { in ezusb_ihex_firmware_download()
92 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { in ezusb_ihex_firmware_download()
93 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), in ezusb_ihex_firmware_download()
94 (unsigned char *)record->data, in ezusb_ihex_firmware_download()
95 be16_to_cpu(record->len), WRITE_EXT_RAM); in ezusb_ihex_firmware_download()
100 be32_to_cpu(record->addr), record->data, in ezusb_ihex_firmware_download()
101 be16_to_cpu(record->len)); in ezusb_ihex_firmware_download()
110 record = (const struct ihex_binrec *)firmware->data; in ezusb_ihex_firmware_download()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c207 static void bnxt_fill_cmdline(struct bnxt_coredump_record *record) in bnxt_fill_cmdline() argument
214 sizeof(record->commandline) - 1); in bnxt_fill_cmdline()
215 if (len && !copy_from_user(record->commandline, in bnxt_fill_cmdline()
218 if (record->commandline[i]) in bnxt_fill_cmdline()
221 record->commandline[i] = ' '; in bnxt_fill_cmdline()
223 record->commandline[last + 1] = 0; in bnxt_fill_cmdline()
228 strscpy(record->commandline, current->comm, TASK_COMM_LEN); in bnxt_fill_cmdline()
232 bnxt_fill_coredump_record(struct bnxt *bp, struct bnxt_coredump_record *record, in bnxt_fill_coredump_record() argument
241 memset(record, 0, sizeof(*record)); in bnxt_fill_coredump_record()
242 memcpy(record->signature, "cOrE", 4); in bnxt_fill_coredump_record()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/include/linux/
Dpstore.h24 * pstore record types (see fs/pstore/platform.c for pstore_type_names[])
53 * struct pstore_record - details of a pstore record entry
55 * @type: pstore record type
56 * @id: per-type unique identifier for record
57 * @time: timestamp of the record
58 * @buf: pointer to record contents
64 * when the record is freed.
70 * @part: position in a multipart record
134 * Read next available backend record. Called after a successful
137 * @record:
[all …]

12345678910>>...149