Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/Linux-v4.19/drivers/firmware/efi/
Defi-pstore.c37 struct pstore_record *record) in efi_pstore_read_func() argument
54 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func()
55 record->id = generic_id(time, part, cnt); in efi_pstore_read_func()
56 record->part = part; in efi_pstore_read_func()
57 record->count = cnt; in efi_pstore_read_func()
58 record->time.tv_sec = time; in efi_pstore_read_func()
59 record->time.tv_nsec = 0; in efi_pstore_read_func()
61 record->compressed = true; in efi_pstore_read_func()
63 record->compressed = false; in efi_pstore_read_func()
64 record->ecc_notice_size = 0; in efi_pstore_read_func()
[all …]
/Linux-v4.19/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-v4.19/sound/usb/6fire/
Dfirmware.c84 static bool usb6fire_fw_ihex_next_record(struct ihex_record *record) in usb6fire_fw_ihex_next_record() argument
90 record->error = false; in usb6fire_fw_ihex_next_record()
93 while (record->txt_offset < record->txt_length in usb6fire_fw_ihex_next_record()
94 && record->txt_data[record->txt_offset] != ':') in usb6fire_fw_ihex_next_record()
95 record->txt_offset++; in usb6fire_fw_ihex_next_record()
96 if (record->txt_offset == record->txt_length) in usb6fire_fw_ihex_next_record()
100 record->txt_offset++; in usb6fire_fw_ihex_next_record()
101 if (record->txt_offset + 8 > record->txt_length) { in usb6fire_fw_ihex_next_record()
102 record->error = true; in usb6fire_fw_ihex_next_record()
106 record->len = usb6fire_fw_ihex_hex(record->txt_data + in usb6fire_fw_ihex_next_record()
[all …]
/Linux-v4.19/fs/pstore/
Dplatform.c339 void pstore_record_init(struct pstore_record *record, in pstore_record_init() argument
342 memset(record, 0, sizeof(*record)); in pstore_record_init()
344 record->psi = psinfo; in pstore_record_init()
347 record->time = ns_to_timespec64(ktime_get_real_fast_ns()); in pstore_record_init()
385 struct pstore_record record; in pstore_dump() local
387 pstore_record_init(&record, psinfo); in pstore_dump()
388 record.type = PSTORE_TYPE_DMESG; in pstore_dump()
389 record.count = oopscount; in pstore_dump()
390 record.reason = reason; in pstore_dump()
391 record.part = part; in pstore_dump()
[all …]
Dinode.c49 struct pstore_record *record; member
65 if (private->record) { in free_pstore_private()
66 kfree(private->record->buf); in free_pstore_private()
67 kfree(private->record); in free_pstore_private()
116 rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); in pstore_ftrace_seq_show()
140 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_read()
143 ps->record->buf, ps->total_size); in pstore_file_read()
153 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_open()
189 struct pstore_record *record = p->record; in pstore_unlink() local
191 if (!record->psi->erase) in pstore_unlink()
[all …]
Dram.c239 static ssize_t ramoops_pstore_read(struct pstore_record *record) in ramoops_pstore_read() argument
242 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read()
252 record->time.tv_sec = 0; in ramoops_pstore_read()
253 record->time.tv_nsec = 0; in ramoops_pstore_read()
254 record->compressed = false; in ramoops_pstore_read()
259 cxt->max_dump_cnt, &record->id, in ramoops_pstore_read()
260 &record->type, in ramoops_pstore_read()
265 &record->time, in ramoops_pstore_read()
266 &record->compressed); in ramoops_pstore_read()
277 1, &record->id, &record->type, in ramoops_pstore_read()
[all …]
Dpmsg.c25 struct pstore_record record; in write_pmsg() local
31 pstore_record_init(&record, psinfo); in write_pmsg()
32 record.type = PSTORE_TYPE_PMSG; in write_pmsg()
33 record.size = count; in write_pmsg()
40 ret = psinfo->write_user(&record, buf); in write_pmsg()
/Linux-v4.19/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 …]
/Linux-v4.19/fs/jbd2/
Drevoke.c140 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()
164 struct jbd2_revoke_record_s *record; in find_revoke_record() local
169 record = (struct jbd2_revoke_record_s *) hash_list->next; in find_revoke_record()
170 while (&(record->hash) != hash_list) { in find_revoke_record()
171 if (record->blocknr == blocknr) { in find_revoke_record()
[all …]
/Linux-v4.19/tools/perf/
Dbuiltin-record.c66 struct record { struct
90 static bool switch_output_signal(struct record *rec) in switch_output_signal() argument
96 static bool switch_output_size(struct record *rec) in switch_output_size()
103 static bool switch_output_time(struct record *rec) in switch_output_time()
109 static int record__write(struct record *rec, void *bf, size_t size) in record__write()
129 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event()
135 struct record *rec = to; in record__pushfn()
176 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace()
209 static int record__auxtrace_mmap_read(struct record *rec, in record__auxtrace_mmap_read()
225 static int record__auxtrace_mmap_read_snapshot(struct record *rec, in record__auxtrace_mmap_read_snapshot()
[all …]
/Linux-v4.19/tools/lib/traceevent/
Dplugin_sched_switch.c48 struct tep_record *record, in write_and_save_comm() argument
54 comm = (char *)(record->data + field->offset); in write_and_save_comm()
68 struct tep_record *record, in sched_wakeup_handler() argument
74 if (tep_get_field_val(s, event, "pid", record, &val, 1)) in sched_wakeup_handler()
79 write_and_save_comm(field, record, s, val); in sched_wakeup_handler()
84 if (tep_get_field_val(s, event, "prio", record, &val, 0) == 0) in sched_wakeup_handler()
87 if (tep_get_field_val(s, event, "success", record, &val, 1) == 0) in sched_wakeup_handler()
90 if (tep_get_field_val(s, event, "target_cpu", record, &val, 0) == 0) in sched_wakeup_handler()
97 struct tep_record *record, in sched_switch_handler() argument
103 if (tep_get_field_val(s, event, "prev_pid", record, &val, 1)) in sched_switch_handler()
[all …]
Dplugin_hrtimer.c28 struct tep_record *record, in timer_expire_handler() argument
34 record, 0) == -1) in timer_expire_handler()
36 record, 1); in timer_expire_handler()
40 tep_print_num_field(s, "%llu", event, "now", record, 1); in timer_expire_handler()
43 record, 0); in timer_expire_handler()
48 struct tep_record *record, in timer_start_handler() argument
54 record, 0) == -1) in timer_start_handler()
56 record, 1); in timer_start_handler()
59 record, 0); in timer_start_handler()
62 tep_print_num_field(s, "%llu", event, "expires", record, 1); in timer_start_handler()
[all …]
Dplugin_kvm.c250 static int print_exit_reason(struct trace_seq *s, struct tep_record *record, in print_exit_reason() argument
257 if (tep_get_field_val(s, event, field, record, &val, 1) < 0) in print_exit_reason()
260 if (tep_get_field_val(s, event, "isa", record, &isa, 0) < 0) in print_exit_reason()
271 static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, in kvm_exit_handler() argument
276 if (print_exit_reason(s, record, event, "exit_reason") < 0) in kvm_exit_handler()
279 tep_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); in kvm_exit_handler()
281 if (tep_get_field_val(s, event, "info1", record, &info1, 0) >= 0 in kvm_exit_handler()
282 && tep_get_field_val(s, event, "info2", record, &info2, 0) >= 0) in kvm_exit_handler()
294 struct tep_record *record, in kvm_emulate_insn_handler() argument
302 if (tep_get_field_val(s, event, "rip", record, &rip, 1) < 0) in kvm_emulate_insn_handler()
[all …]
/Linux-v4.19/drivers/staging/vboxvideo/
Dvbva_base.c83 struct vbva_record *record; in vbva_write() local
88 record = vbva_ctx->record; in vbva_write()
91 !record || !(record->len_and_flags & VBVA_F_RECORD_PARTIAL)) in vbva_write()
117 record->len_and_flags += chunk; in vbva_write()
177 vbva_ctx->record = NULL; in vbva_disable()
186 struct vbva_record *record; in vbva_buffer_begin_update() local
193 WARN_ON(vbva_ctx->buffer_overflow || vbva_ctx->record); in vbva_buffer_begin_update()
205 record = &vbva_ctx->vbva->records[vbva_ctx->vbva->record_free_index]; in vbva_buffer_begin_update()
206 record->len_and_flags = VBVA_F_RECORD_PARTIAL; in vbva_buffer_begin_update()
209 vbva_ctx->record = record; in vbva_buffer_begin_update()
[all …]
/Linux-v4.19/tools/perf/Documentation/
Djitdump-specification.txt29 …xed size header describing the type of record and its size. It is, itself, followed by the payload…
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
63 * Value 2 : JIT_CODE_DEBUG_INFO: record describing the debug information for a jitted function
[all …]
Dtips.txt2 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
22 For memory address profiling, try: perf mem record / perf mem report
24 To record callchains for each sample: perf record -g
25 To record every process run by a user: perf record -u <user>
26 Skip collecting build-id when recording: perf record -B
27 To change sampling frequency to 100 Hz: perf record -F 100
32 System-wide collection from all CPUs: perf record -a
/Linux-v4.19/arch/powerpc/kernel/
Dnvram_64.c395 static int nvram_pstore_write(struct pstore_record *record) in nvram_pstore_write() argument
402 if (record->part > 1 || (record->type != PSTORE_TYPE_DMESG)) in nvram_pstore_write()
409 oops_hdr->report_length = cpu_to_be16(record->size); in nvram_pstore_write()
412 if (record->compressed) in nvram_pstore_write()
416 (int) (sizeof(*oops_hdr) + record->size), err_type, in nvram_pstore_write()
417 record->count); in nvram_pstore_write()
422 record->id = record->part; in nvram_pstore_write()
431 static ssize_t nvram_pstore_read(struct pstore_record *record) in nvram_pstore_read() argument
445 record->type = PSTORE_TYPE_DMESG; in nvram_pstore_read()
450 record->type = PSTORE_TYPE_PPC_COMMON; in nvram_pstore_read()
[all …]
/Linux-v4.19/drivers/misc/cxl/
Dvphb.c122 int record; in cxl_pcie_config_info() local
124 record = cxl_pcie_cfg_record(bus->number, devfn); in cxl_pcie_config_info()
125 if (record > afu->crs_num) in cxl_pcie_config_info()
128 *_record = record; in cxl_pcie_config_info()
135 int rc, record; in cxl_pcie_read_config() local
146 rc = cxl_pcie_config_info(bus, devfn, afu, &record); in cxl_pcie_read_config()
152 rc = cxl_ops->afu_cr_read8(afu, record, offset, &val8); in cxl_pcie_read_config()
156 rc = cxl_ops->afu_cr_read16(afu, record, offset, &val16); in cxl_pcie_read_config()
160 rc = cxl_ops->afu_cr_read32(afu, record, offset, &val32); in cxl_pcie_read_config()
175 int rc, record; in cxl_pcie_write_config() local
[all …]
/Linux-v4.19/net/tls/
Dtls_device.c136 static void destroy_record(struct tls_record_info *record) in destroy_record() argument
138 int nr_frags = record->num_frags; in destroy_record()
142 frag = &record->frags[nr_frags]; in destroy_record()
145 kfree(record); in destroy_record()
219 static void tls_append_frag(struct tls_record_info *record, in tls_append_frag() argument
225 frag = &record->frags[record->num_frags - 1]; in tls_append_frag()
234 ++record->num_frags; in tls_append_frag()
239 record->len += size; in tls_append_frag()
245 struct tls_record_info *record, in tls_push_record() argument
256 frag = &record->frags[0]; in tls_push_record()
[all …]
/Linux-v4.19/arch/m68k/kernel/
Dsetup_mm.c142 static void __init m68k_parse_bootinfo(const struct bi_record *record) in m68k_parse_bootinfo() argument
146 save_bootinfo(record); in m68k_parse_bootinfo()
148 while ((tag = be16_to_cpu(record->tag)) != BI_LAST) { in m68k_parse_bootinfo()
150 const void *data = record->data; in m68k_parse_bootinfo()
151 uint16_t size = be16_to_cpu(record->size); in m68k_parse_bootinfo()
191 unknown = amiga_parse_bootinfo(record); in m68k_parse_bootinfo()
193 unknown = atari_parse_bootinfo(record); in m68k_parse_bootinfo()
195 unknown = mac_parse_bootinfo(record); in m68k_parse_bootinfo()
197 unknown = q40_parse_bootinfo(record); in m68k_parse_bootinfo()
199 unknown = bvme6000_parse_bootinfo(record); in m68k_parse_bootinfo()
[all …]
/Linux-v4.19/drivers/acpi/apei/
Derst.c757 static int __erst_write_to_nvram(const struct cper_record_header *record) in __erst_write_to_nvram() argument
775 int erst_write(const struct cper_record_header *record) in erst_write() argument
784 if (memcmp(record->signature, CPER_SIG_RECORD, CPER_SIG_SIZE)) in erst_write()
790 rc = __erst_write_to_nvram(record); in erst_write()
795 if (record->record_length > erst_erange.size) in erst_write()
800 memcpy(erst_erange.vaddr, record, record->record_length); in erst_write()
828 static ssize_t __erst_read(u64 record_id, struct cper_record_header *record, in __erst_read() argument
841 memcpy(record, rcd_tmp, len); in __erst_read()
851 ssize_t erst_read(u64 record_id, struct cper_record_header *record, in erst_read() argument
861 len = __erst_read(record_id, record, buflen); in erst_read()
[all …]
/Linux-v4.19/fs/hfs/
Dbfind.c84 fd->record = e; in __hfs_brec_find()
129 if (fd->record < 0) in hfs_brec_find()
174 while (cnt > fd->record) { in hfs_brec_goto()
175 cnt -= fd->record + 1; in hfs_brec_goto()
176 fd->record = bnode->num_recs - 1; in hfs_brec_goto()
190 fd->record -= cnt; in hfs_brec_goto()
192 while (cnt >= bnode->num_recs - fd->record) { in hfs_brec_goto()
193 cnt -= bnode->num_recs - fd->record; in hfs_brec_goto()
194 fd->record = 0; in hfs_brec_goto()
208 fd->record += cnt; in hfs_brec_goto()
[all …]
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c271 struct ib_event *record) in ipoib_event() argument
276 if (record->element.port_num != priv->port) in ipoib_event()
279 ipoib_dbg(priv, "Event %d on device %s port %d\n", record->event, in ipoib_event()
280 record->device->name, record->element.port_num); in ipoib_event()
282 if (record->event == IB_EVENT_SM_CHANGE || in ipoib_event()
283 record->event == IB_EVENT_CLIENT_REREGISTER) { in ipoib_event()
285 } else if (record->event == IB_EVENT_PORT_ERR || in ipoib_event()
286 record->event == IB_EVENT_PORT_ACTIVE || in ipoib_event()
287 record->event == IB_EVENT_LID_CHANGE) { in ipoib_event()
289 } else if (record->event == IB_EVENT_PKEY_CHANGE) { in ipoib_event()
[all …]
/Linux-v4.19/fs/hfsplus/
Dbfind.c152 fd->record = e; in __hfs_brec_find()
198 if (fd->record < 0) in hfs_brec_find()
243 while (cnt > fd->record) { in hfs_brec_goto()
244 cnt -= fd->record + 1; in hfs_brec_goto()
245 fd->record = bnode->num_recs - 1; in hfs_brec_goto()
259 fd->record -= cnt; in hfs_brec_goto()
261 while (cnt >= bnode->num_recs - fd->record) { in hfs_brec_goto()
262 cnt -= bnode->num_recs - fd->record; in hfs_brec_goto()
263 fd->record = 0; in hfs_brec_goto()
277 fd->record += cnt; in hfs_brec_goto()
[all …]
/Linux-v4.19/samples/bpf/
Dxdp_rxq_info_user.c172 struct record { struct
178 struct record stats; argument
179 struct record *rxq;
198 static struct record *alloc_record_per_rxq(void) in alloc_record_per_rxq()
201 struct record *array; in alloc_record_per_rxq()
204 size = sizeof(struct record) * nr_rxqs; in alloc_record_per_rxq()
247 static bool map_collect_percpu(int fd, __u32 key, struct record *rec) in map_collect_percpu()
289 static double calc_period(struct record *r, struct record *p) in calc_period()
333 struct record *rec, *prev; in stats_print()
424 struct stats_record *record, *prev; in stats_poll() local
[all …]

12345678910>>...13