Lines Matching full:trans
52 TP_PROTO(struct btree_trans *trans, unsigned long caller_ip, const char *str),
53 TP_ARGS(trans, caller_ip, str),
63 __entry->dev = trans->c->dev;
64 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
75 TP_PROTO(struct btree_trans *trans, const char *str),
76 TP_ARGS(trans, str),
85 __entry->dev = trans->c->dev;
86 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
121 TP_PROTO(struct btree_trans *trans, struct btree *b),
122 TP_ARGS(trans, b),
133 __entry->dev = trans->c->dev;
134 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
163 TP_PROTO(struct btree_trans *trans),
164 TP_ARGS(trans),
172 __entry->dev = trans->c->dev;
173 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
463 TP_PROTO(struct btree_trans *trans),
464 TP_ARGS(trans)
468 TP_PROTO(struct btree_trans *trans),
469 TP_ARGS(trans)
473 TP_PROTO(struct btree_trans *trans),
474 TP_ARGS(trans)
478 TP_PROTO(struct btree_trans *trans),
479 TP_ARGS(trans)
485 TP_PROTO(struct btree_trans *trans, struct btree *b),
486 TP_ARGS(trans, b)
510 TP_PROTO(struct btree_trans *trans, struct btree *b),
511 TP_ARGS(trans, b)
515 TP_PROTO(struct btree_trans *trans, struct btree *b),
516 TP_ARGS(trans, b)
548 TP_PROTO(struct btree_trans *trans, struct btree *b),
549 TP_ARGS(trans, b)
553 TP_PROTO(struct btree_trans *trans, struct btree *b),
554 TP_ARGS(trans, b)
558 TP_PROTO(struct btree_trans *trans, struct btree *b),
559 TP_ARGS(trans, b)
563 TP_PROTO(struct btree_trans *trans, struct btree *b),
564 TP_ARGS(trans, b)
568 TP_PROTO(struct btree_trans *trans, struct btree *b),
569 TP_ARGS(trans, b)
573 TP_PROTO(struct btree_trans *trans,
577 TP_ARGS(trans, caller_ip, path, level),
599 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
603 __entry->path_idx = path - trans->paths;
606 c = bch2_btree_node_lock_counts(trans, NULL, &path->l[level].b->c, level);
643 TP_PROTO(struct btree_trans *trans,
647 TP_ARGS(trans, caller_ip, path, level),
668 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
672 __entry->path_idx = path - trans->paths;
676 c = bch2_btree_node_lock_counts(trans, NULL, &path->l[level].b->c, level),
968 TP_PROTO(struct btree_trans *trans,
970 TP_ARGS(trans, caller_ip),
978 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
986 TP_PROTO(struct btree_trans *trans,
988 TP_ARGS(trans, caller_ip)
992 TP_PROTO(struct btree_trans *trans,
994 TP_ARGS(trans, caller_ip)
998 TP_PROTO(struct btree_trans *trans,
1001 TP_ARGS(trans, caller_ip, b),
1013 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1017 __entry->blocks = btree_blocks(trans->c);
1029 TP_PROTO(struct btree_trans *trans,
1031 TP_ARGS(trans, caller_ip),
1043 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1045 __entry->key_cache_nr_keys = atomic_long_read(&trans->c->btree_key_cache.nr_keys);
1046 __entry->key_cache_nr_dirty = atomic_long_read(&trans->c->btree_key_cache.nr_dirty);
1047 __entry->must_wait = __bch2_btree_key_cache_must_wait(trans->c);
1058 TP_PROTO(struct btree_trans *trans,
1061 TP_ARGS(trans, caller_ip, flags),
1070 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1081 TP_PROTO(struct btree_trans *trans,
1083 TP_ARGS(trans, caller_ip)
1087 TP_PROTO(struct btree_trans *trans,
1089 TP_ARGS(trans, caller_ip)
1093 TP_PROTO(struct btree_trans *trans,
1095 TP_ARGS(trans, caller_ip)
1099 TP_PROTO(struct btree_trans *trans,
1102 TP_ARGS(trans, caller_ip, paths)
1106 TP_PROTO(struct btree_trans *trans,
1109 TP_ARGS(trans, caller_ip, path),
1119 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1135 TP_PROTO(struct btree_trans *trans,
1138 TP_ARGS(trans, caller_ip, path)
1142 TP_PROTO(struct btree_trans *trans,
1145 TP_ARGS(trans, caller_ip, path)
1149 TP_PROTO(struct btree_trans *trans,
1155 TP_ARGS(trans, caller_ip, path, old_locks_want, new_locks_want, f),
1170 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1196 TP_PROTO(struct btree_trans *trans, unsigned long caller_ip, const char *str),
1197 TP_ARGS(trans, caller_ip, str)
1201 TP_PROTO(struct btree_trans *trans,
1204 TP_ARGS(trans, caller_ip, path)
1208 TP_PROTO(struct btree_trans *trans,
1211 TP_ARGS(trans, caller_ip, path)
1215 TP_PROTO(struct btree_trans *trans,
1218 TP_ARGS(trans, caller_ip, path)
1222 TP_PROTO(struct btree_trans *trans,
1224 TP_ARGS(trans, caller_ip)
1228 TP_PROTO(struct btree_trans *trans,
1231 TP_ARGS(trans, caller_ip, path)
1235 TP_PROTO(struct btree_trans *trans,
1238 TP_ARGS(trans, caller_ip, path)
1242 TP_PROTO(struct btree_trans *trans,
1245 TP_ARGS(trans, caller_ip, path)
1249 TP_PROTO(struct btree_trans *trans,
1252 TP_ARGS(trans, caller_ip, path)
1256 TP_PROTO(struct btree_trans *trans,
1259 TP_ARGS(trans, caller_ip, path)
1263 TP_PROTO(struct btree_trans *trans,
1265 TP_ARGS(trans, cycle)
1269 TP_PROTO(struct btree_trans *trans,
1271 TP_ARGS(trans, caller_ip)
1275 TP_PROTO(struct btree_trans *trans),
1276 TP_ARGS(trans),
1283 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1290 TP_PROTO(struct btree_trans *trans,
1293 TP_ARGS(trans, caller_ip, bytes),
1302 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1314 TP_PROTO(struct btree_trans *trans,
1319 TP_ARGS(trans, caller_ip, path, old_u64s, new_u64s),
1331 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1352 TP_PROTO(struct btree_trans *trans,
1354 TP_ARGS(trans, caller_ip)
1358 TP_PROTO(struct btree_trans *trans,
1362 TP_ARGS(trans, caller_ip, path, old_locks_want),
1374 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1394 TP_PROTO(struct btree_trans *trans, const char *key),
1395 TP_ARGS(trans, key),
1403 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1411 TP_PROTO(struct btree_trans *trans, size_t nr, size_t skipped, size_t fast, size_t size),
1412 TP_ARGS(trans, nr, skipped, fast, size),
1433 TP_PROTO(struct btree_trans *trans, unsigned long caller_ip),
1434 TP_ARGS(trans, caller_ip),
1442 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1450 TP_PROTO(struct btree_trans *trans, size_t slowpath, size_t total),
1451 TP_ARGS(trans, slowpath, total),
1467 TP_PROTO(struct btree_trans *trans, unsigned long caller_ip, const char *key),
1468 TP_ARGS(trans, caller_ip, key),
1477 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1516 TP_PROTO(struct btree_trans *trans, struct btree_path *path,
1518 TP_ARGS(trans, path, i, overwrite),
1531 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1532 __entry->path_idx = path - trans->paths;
1536 __entry->update_idx = i - trans->updates;
1537 __entry->nr_updates = trans->nr_updates;
1553 TP_PROTO(struct btree_trans *trans,
1556 TP_ARGS(trans, caller_ip, b),
1568 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1587 TP_PROTO(struct btree_trans *trans, struct btree_path *path),
1588 TP_ARGS(trans, path),
1598 __entry->idx = path - trans->paths;
1613 TP_PROTO(struct btree_trans *trans, struct btree_path *path),
1614 TP_ARGS(trans, path)
1618 TP_PROTO(struct btree_trans *trans, struct btree_path *path),
1619 TP_ARGS(trans, path)
1623 TP_PROTO(struct btree_trans *trans, struct btree_path *path),
1624 TP_ARGS(trans, path)
1628 TP_PROTO(struct btree_trans *trans, struct btree_path *path),
1629 TP_ARGS(trans, path),
1639 __entry->idx = path - trans->paths;
1655 TP_PROTO(struct btree_trans *trans, struct btree_path *path, struct bpos *new_pos),
1656 TP_ARGS(trans, path, new_pos),
1669 __entry->idx = path - trans->paths;
1693 TP_PROTO(struct btree_trans *trans, struct btree_path *path, struct btree_path *new),
1694 TP_ARGS(trans, path, new),
1706 __entry->idx = path - trans->paths;
1707 __entry->new_idx = new - trans->paths;
1726 TP_PROTO(struct btree_trans *trans, struct btree_path *path, struct btree_path *new),
1727 TP_ARGS(trans, path, new)
1731 TP_PROTO(struct btree_trans *trans, struct btree_path *path, struct btree_path *new),
1732 TP_ARGS(trans, path, new)
1736 TP_PROTO(struct btree_trans *trans,
1738 TP_ARGS(trans, path),
1758 strscpy(__entry->trans_fn, trans->fn, sizeof(__entry->trans_fn));
1760 __entry->idx = path - trans->paths;
1814 TP_PROTO(struct btree_trans *trans,
1816 TP_ARGS(trans, path)
1820 TP_PROTO(struct btree_trans *trans, struct btree_path *path),
1821 TP_ARGS(trans, path)
1825 TP_PROTO(struct btree_trans *trans,
1828 TP_ARGS(trans, path, new_pos),
1846 __entry->idx = path - trans->paths;
1899 TP_PROTO(struct btree_trans *trans, btree_path_idx_t path, struct btree_path *dup),
1900 TP_ARGS(trans, path, dup),
1912 __entry->preserve = trans->paths[path].preserve;
1913 __entry->should_be_locked = trans->paths[path].should_be_locked;
1914 __entry->dup = dup ? dup - trans->paths : -1;
1943 static inline void trace_update_by_path(struct btree_trans *trans, struct btree_path *path, in trace_update_by_path() argument
1945 static inline void trace_btree_path_lock(struct btree_trans *trans, unsigned long caller_ip, struct… in trace_btree_path_lock() argument
1946 static inline void trace_btree_path_get_ll(struct btree_trans *trans, struct btree_path *path) {} in trace_btree_path_get_ll() argument
1947 static inline void trace_btree_path_put_ll(struct btree_trans *trans, struct btree_path *path) {} in trace_btree_path_put_ll() argument
1948 static inline void trace_btree_path_should_be_locked(struct btree_trans *trans, struct btree_path *… in trace_btree_path_should_be_locked() argument
1949 static inline void trace_btree_path_alloc(struct btree_trans *trans, struct btree_path *path) {} in trace_btree_path_alloc() argument
1950 static inline void trace_btree_path_get(struct btree_trans *trans, struct btree_path *path, struct … in trace_btree_path_get() argument
1951 static inline void trace_btree_path_clone(struct btree_trans *trans, struct btree_path *path, struc… in trace_btree_path_clone() argument
1952 static inline void trace_btree_path_save_pos(struct btree_trans *trans, struct btree_path *path, st… in trace_btree_path_save_pos() argument
1953 static inline void trace_btree_path_traverse_start(struct btree_trans *trans, struct btree_path *pa… in trace_btree_path_traverse_start() argument
1954 static inline void trace_btree_path_traverse_end(struct btree_trans *trans, struct btree_path *path… in trace_btree_path_traverse_end() argument
1955 static inline void trace_btree_path_set_pos(struct btree_trans *trans, struct btree_path *path, str… in trace_btree_path_set_pos() argument
1956 static inline void trace_btree_path_free(struct btree_trans *trans, btree_path_idx_t path, struct b… in trace_btree_path_free() argument