/linux-master/tools/testing/selftests/ftrace/test.d/00basic/ |
H A D | snapshot.tc | 3 # requires: snapshot 9 echo "Allocate and take a snapshot" 10 echo 1 > snapshot 12 # Since trace buffer is empty, snapshot is also empty, but allocated 13 grep -q "Snapshot is allocated" snapshot 21 echo "Take a snapshot again" 22 echo 1 > snapshot
|
H A D | snapshot1.tc | 4 # requires: trace_marker tracing_cpumask snapshot 17 # Take a snapshot of the main buffer 18 echo 1 > snapshot
|
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-snapshot.tc | 3 # description: event trigger - test snapshot-trigger 4 # requires: set_event events/sched/sched_process_fork/trigger snapshot 11 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger` 13 echo "snapshot trigger is not supported" 17 echo "Test snapshot trigger" 18 echo 0 > snapshot 21 echo 'snapshot:1' > events/sched/sched_process_fork/trigger 23 grep sched_process_fork snapshot > /dev/null || \ 24 fail "snapshot trigger on sched_process_fork did not work" 27 echo 0 > snapshot [all...] |
H A D | trigger-trace-marker-snapshot.tc | 3 # description: trace_marker trigger - test snapshot trigger 4 # requires: set_event snapshot events/ftrace/print/trigger 30 echo "Test snapshot trace_marker trigger" 32 echo 'snapshot' > events/ftrace/print/trigger 34 # make sure the snapshot is allocated 36 grep -q 'Snapshot is allocated' snapshot 41 test_trace snapshot 2
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_devcoredump.c | 42 * 'First' failure snapshot: 45 * snapshot of the 'first' failure and ignore subsequent calls of this function, 78 struct xe_devcoredump_snapshot *ss = &coredump->snapshot; 109 xe_guc_ct_snapshot_print(coredump->snapshot.ct, &p); 110 xe_guc_exec_queue_snapshot_print(coredump->snapshot.ge, &p); 113 xe_sched_job_snapshot_print(coredump->snapshot.job, &p); 117 if (coredump->snapshot.hwe[i]) 118 xe_hw_engine_snapshot_print(coredump->snapshot.hwe[i], 120 if (coredump->snapshot.vm) { 122 xe_vm_snapshot_print(coredump->snapshot [all...] |
H A D | xe_hw_engine.c | 740 * xe_hw_engine_snapshot_capture - Take a quick snapshot of the HW Engine. 746 * Returns: a Xe HW Engine snapshot object that must be freed by the 752 struct xe_hw_engine_snapshot *snapshot; local 758 snapshot = kzalloc(sizeof(*snapshot), GFP_ATOMIC); 760 if (!snapshot) 763 snapshot->name = kstrdup(hwe->name, GFP_ATOMIC); 764 snapshot->class = hwe->class; 765 snapshot->logical_instance = hwe->logical_instance; 766 snapshot 828 xe_hw_engine_snapshot_print(struct xe_hw_engine_snapshot *snapshot, struct drm_printer *p) argument 872 xe_hw_engine_snapshot_free(struct xe_hw_engine_snapshot *snapshot) argument 890 struct xe_hw_engine_snapshot *snapshot; local [all...] |
H A D | xe_guc_submit.c | 1737 struct xe_guc_submit_exec_queue_snapshot *snapshot) 1744 snapshot->guc.wqi_head = q->guc->wqi_head; 1745 snapshot->guc.wqi_tail = q->guc->wqi_tail; 1746 snapshot->parallel.wq_desc.head = parallel_read(xe, map, wq_desc.head); 1747 snapshot->parallel.wq_desc.tail = parallel_read(xe, map, wq_desc.tail); 1748 snapshot->parallel.wq_desc.status = parallel_read(xe, map, 1751 if (snapshot->parallel.wq_desc.head != 1752 snapshot->parallel.wq_desc.tail) { 1753 for (i = snapshot->parallel.wq_desc.head; 1754 i != snapshot 1736 guc_exec_queue_wq_snapshot_capture(struct xe_exec_queue *q, struct xe_guc_submit_exec_queue_snapshot *snapshot) argument 1762 guc_exec_queue_wq_snapshot_print(struct xe_guc_submit_exec_queue_snapshot *snapshot, struct drm_printer *p) argument 1798 struct xe_guc_submit_exec_queue_snapshot *snapshot; local 1877 xe_guc_exec_queue_snapshot_print(struct xe_guc_submit_exec_queue_snapshot *snapshot, struct drm_printer *p) argument 1931 xe_guc_exec_queue_snapshot_free(struct xe_guc_submit_exec_queue_snapshot *snapshot) argument 1943 struct xe_guc_submit_exec_queue_snapshot *snapshot; local [all...] |
H A D | xe_hw_engine.h | 58 void xe_hw_engine_snapshot_free(struct xe_hw_engine_snapshot *snapshot); 59 void xe_hw_engine_snapshot_print(struct xe_hw_engine_snapshot *snapshot,
|
H A D | xe_guc_submit.h | 32 xe_guc_exec_queue_snapshot_print(struct xe_guc_submit_exec_queue_snapshot *snapshot, 35 xe_guc_exec_queue_snapshot_free(struct xe_guc_submit_exec_queue_snapshot *snapshot);
|
H A D | xe_devcoredump_types.h | 18 * struct xe_devcoredump_snapshot - Crash snapshot 36 /** @ct: GuC CT snapshot */ 38 /** @ge: Guc Engine snapshot */ 41 /** @hwe: HW Engine snapshot array */ 58 /** @captured: The snapshot of the first hang has already been taken. */ 60 /** @snapshot: Snapshot is captured at time of the first crash */ 61 struct xe_devcoredump_snapshot snapshot; member in struct:xe_devcoredump
|
H A D | xe_sched_job.c | 296 struct xe_sched_job_snapshot *snapshot; local 297 size_t len = sizeof(*snapshot) + (sizeof(u64) * q->width); 300 snapshot = kzalloc(len, GFP_ATOMIC); 301 if (!snapshot) 304 snapshot->batch_addr_len = q->width; 306 snapshot->batch_addr[i] = xe_device_uncanonicalize_addr(xe, job->batch_addr[i]); 308 return snapshot; 311 void xe_sched_job_snapshot_free(struct xe_sched_job_snapshot *snapshot) argument 313 kfree(snapshot); 317 xe_sched_job_snapshot_print(struct xe_sched_job_snapshot *snapshot, argument [all...] |
H A D | xe_guc_ct.c | 1299 struct guc_ctb_snapshot *snapshot, 1304 xe_map_memcpy_from(xe, &snapshot->desc, &ctb->desc, 0, 1306 memcpy(&snapshot->info, &ctb->info, sizeof(struct guc_ctb_info)); 1308 snapshot->cmds = kmalloc_array(ctb->info.size, sizeof(u32), 1311 if (!snapshot->cmds) { 1312 drm_err(&xe->drm, "Skipping CTB commands snapshot. Only CTB info will be available.\n"); 1316 head = snapshot->desc.head; 1317 tail = snapshot->desc.tail; 1324 snapshot->cmds[head] = xe_map_rd(xe, &map, 0, u32); 1336 static void guc_ctb_snapshot_print(struct guc_ctb_snapshot *snapshot, argument 1298 guc_ctb_snapshot_capture(struct xe_device *xe, struct guc_ctb *ctb, struct guc_ctb_snapshot *snapshot, bool atomic) argument 1366 guc_ctb_snapshot_free(struct guc_ctb_snapshot *snapshot) argument 1387 struct xe_guc_ct_snapshot *snapshot; local 1416 xe_guc_ct_snapshot_print(struct xe_guc_ct_snapshot *snapshot, struct drm_printer *p) argument 1443 xe_guc_ct_snapshot_free(struct xe_guc_ct_snapshot *snapshot) argument 1464 struct xe_guc_ct_snapshot *snapshot; local [all...] |
H A D | xe_guc_ct.h | 21 void xe_guc_ct_snapshot_print(struct xe_guc_ct_snapshot *snapshot, 23 void xe_guc_ct_snapshot_free(struct xe_guc_ct_snapshot *snapshot);
|
H A D | xe_sched_job.h | 82 void xe_sched_job_snapshot_free(struct xe_sched_job_snapshot *snapshot); 83 void xe_sched_job_snapshot_print(struct xe_sched_job_snapshot *snapshot, struct drm_printer *p);
|
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
H A D | trigger-snapshot-action-hist.tc | 3 # description: event trigger - test inter-event histogram trigger snapshot action 4 # requires: set_event snapshot events/sched/sched_process_fork/hist "onchange(var)":README "snapshot()":README ping:program 11 echo "Test snapshot action" 15 echo 'hist:keys=comm:newprio=prio:onchange($newprio).save(comm,prio):onchange($newprio).snapshot() if comm=="ping"' >> events/sched/sched_waking/trigger 26 if ! grep -q "comm=ping" snapshot; then 27 fail "Failed to create snapshot action inter-event histogram"
|
/linux-master/net/devlink/ |
H A D | region.c | 62 struct devlink_snapshot *snapshot; local 64 list_for_each_entry(snapshot, ®ion->snapshot_list, list) 65 if (snapshot->id == id) 66 return snapshot; 73 struct devlink_snapshot *snapshot) 82 err = nla_put_u32(msg, DEVLINK_ATTR_REGION_SNAPSHOT_ID, snapshot->id); 98 struct devlink_snapshot *snapshot; local 107 list_for_each_entry(snapshot, ®ion->snapshot_list, list) { 108 err = devlink_nl_region_snapshot_id_put(msg, devlink, snapshot); 173 struct devlink_snapshot *snapshot, 71 devlink_nl_region_snapshot_id_put(struct sk_buff *msg, struct devlink *devlink, struct devlink_snapshot *snapshot) argument 172 devlink_nl_region_notify_build(struct devlink_region *region, struct devlink_snapshot *snapshot, enum devlink_command cmd, u32 portid, u32 seq) argument 229 devlink_nl_region_notify(struct devlink_region *region, struct devlink_snapshot *snapshot, enum devlink_command cmd) argument 421 struct devlink_snapshot *snapshot; local 457 devlink_region_snapshot_del(struct devlink_region *region, struct devlink_snapshot *snapshot) argument 594 struct devlink_snapshot *snapshot; local 639 struct devlink_snapshot *snapshot; local 839 struct devlink_snapshot *snapshot = cb_priv; local 941 struct devlink_snapshot *snapshot; local 1167 struct devlink_snapshot *snapshot, *ts; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | subvolume_format.h | 12 __le32 snapshot; member in struct:bch_subvolume 15 * Snapshot subvolumes form a tree, separate from the snapshot nodes 16 * tree - if this subvolume is a snapshot, this is the ID of the 29 * We need to know whether a subvolume is a snapshot so we can know whether we
|
H A D | fsck.c | 16 #include "snapshot.h" 28 u32 snapshot) 33 SPOS(inum, 0, snapshot), 45 u32 snapshot) 50 SPOS(inum, 0, snapshot), 63 u32 *snapshot, u64 *inum) 68 *snapshot = le32_to_cpu(s.snapshot); 102 u32 *snapshot) 109 SPOS(0, inode_nr, *snapshot), 27 bch2_count_inode_sectors(struct btree_trans *trans, u64 inum, u32 snapshot) argument 44 bch2_count_subdirs(struct btree_trans *trans, u64 inum, u32 snapshot) argument 62 subvol_lookup(struct btree_trans *trans, u32 subvol, u32 *snapshot, u64 *inum) argument 100 lookup_inode(struct btree_trans *trans, u64 inode_nr, struct bch_inode_unpacked *inode, u32 *snapshot) argument 124 lookup_dirent_in_snapshot(struct btree_trans *trans, struct bch_hash_info hash_info, subvol_inum dir, struct qstr *name, u64 *target, unsigned *type, u32 snapshot) argument 170 lookup_lostfound(struct btree_trans *trans, u32 snapshot, struct bch_inode_unpacked *lostfound, u64 reattaching_inum) argument 462 reconstruct_inode(struct btree_trans *trans, u32 snapshot, u64 inum, u64 size, unsigned mode) argument 475 reconstruct_reg_inode(struct btree_trans *trans, u32 snapshot, u64 inum) argument 663 u32 snapshot; member in struct:inode_walker_entry 731 u32 snapshot = bch2_snapshot_equiv(c, k.k->p.snapshot); local 941 inode_get_dirent(struct btree_trans *trans, struct btree_iter *iter, struct bch_inode_unpacked *inode, u32 *snapshot) argument 1290 u32 snapshot; member in struct:extent_end 1893 find_snapshot_subvol(struct btree_trans *trans, u32 snapshot, u32 *subvolid) argument 2271 u32 snapshot; local 2434 u32 snapshot; member in struct:pathbuf_entry 2439 path_is_dup(pathbuf *p, u64 inum, u32 snapshot) argument 2460 u32 snapshot = bch2_snapshot_equiv(c, inode_k.k->p.snapshot); local 2586 u32 snapshot; member in struct:nlink_table::nlink 2591 add_nlink(struct bch_fs *c, struct nlink_table *t, u64 inum, u32 snapshot) argument 2629 inc_link(struct bch_fs *c, struct snapshots_seen *s, struct nlink_table *links, u64 range_start, u64 range_end, u64 inum, u32 snapshot) argument [all...] |
H A D | str_hash.h | 168 unsigned flags, u32 snapshot) 174 SPOS(inum.inum, desc.hash_key(info, key), snapshot), 200 u32 snapshot; local 201 return bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot) ?: 202 bch2_hash_lookup_in_snapshot(trans, iter, desc, info, inum, key, flags, snapshot); 213 u32 snapshot; local 216 ret = bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot); 221 SPOS(inum.inum, desc.hash_key(info, key), snapshot), 265 subvol_inum inum, u32 snapshot, 278 snapshot), 163 bch2_hash_lookup_in_snapshot(struct btree_trans *trans, struct btree_iter *iter, const struct bch_hash_desc desc, const struct bch_hash_info *info, subvol_inum inum, const void *key, unsigned flags, u32 snapshot) argument 262 bch2_hash_set_in_snapshot(struct btree_trans *trans, const struct bch_hash_desc desc, const struct bch_hash_info *info, subvol_inum inum, u32 snapshot, struct bkey_i *insert, bch_str_hash_flags_t str_hash_flags, int update_flags) argument 333 u32 snapshot; local [all...] |
H A D | bkey.h | 107 (l.snapshot ^ r.snapshot)); 114 l.snapshot != r.snapshot ? l.snapshot < r.snapshot : false; 121 l.snapshot != r.snapshot ? l.snapshot < r.snapshot [all...] |
H A D | dirent.c | 204 u32 dir_subvol, u64 dir, u32 snapshot, 220 dirent->k.p.snapshot = snapshot; 223 dir_inum, snapshot, 429 * not just emit a whiteout in the current snapshot - there can only be 438 new_src->k.p.snapshot != old_src.k->p.snapshot; 442 new_dst->k.p.snapshot != old_dst.k->p.snapshot; 451 bch2_btree_iter_set_snapshot(&src_iter, old_src.k->p.snapshot); 203 bch2_dirent_create_snapshot(struct btree_trans *trans, u32 dir_subvol, u64 dir, u32 snapshot, const struct bch_hash_info *hash_info, u8 type, const struct qstr *name, u64 dst_inum, u64 *dir_offset, bch_str_hash_flags_t str_hash_flags) argument 515 bch2_empty_dir_snapshot(struct btree_trans *trans, u64 dir, u32 subvol, u32 snapshot) argument 538 u32 snapshot; local 551 u32 snapshot; local [all...] |
H A D | inode.c | 16 #include "snapshot.h" 333 u32 snapshot; local 336 ret = bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot); 341 SPOS(0, inum.inum, snapshot), 383 inode_p->inode.k.p.snapshot = iter->snapshot; 389 u32 snapshot) 398 inode_p->inode.k.p.snapshot = snapshot; 407 u32 snapshot) 387 __bch2_fsck_write_inode(struct btree_trans *trans, struct bch_inode_unpacked *inode, u32 snapshot) argument 405 bch2_fsck_write_inode(struct btree_trans *trans, struct bch_inode_unpacked *inode, u32 snapshot) argument 733 bch2_inode_create(struct btree_trans *trans, struct btree_iter *iter, struct bch_inode_unpacked *inode_u, u32 snapshot, u64 cpu) argument 819 u32 snapshot; local 873 u32 snapshot; local 1029 bch2_inode_rm_snapshot(struct btree_trans *trans, u64 inum, u32 snapshot) argument [all...] |
/linux-master/tools/testing/selftests/kvm/ |
H A D | rseq_test.c | 191 int r, i, snapshot; local 232 snapshot = atomic_read(&seq_cnt) & ~1; 245 } while (snapshot != atomic_read(&seq_cnt));
|
/linux-master/drivers/misc/echo/ |
H A D | echo.h | 171 /* snapshot sample of coeffs used for development */ 172 int16_t *snapshot; member in struct:oslec_state
|
/linux-master/net/ceph/ |
H A D | Makefile | 17 pagevec.o snapshot.o string_table.o \
|