trace.h (920e69bc3db88d3825c69190cafd43f0a1918d3b) | trace.h (8e3f913e2ab6ac2cb9e75a0a8635d0b44f838c33) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#undef TRACE_SYSTEM 3#define TRACE_SYSTEM bcachefs 4 5#if !defined(_TRACE_BCACHEFS_H) || defined(TRACE_HEADER_MULTI_READ) 6#define _TRACE_BCACHEFS_H 7 8#include <linux/tracepoint.h> --- 703 unchanged lines hidden (view full) --- 712 __entry->keys_moved = keys_moved; 713 ), 714 715 TP_printk("%d,%d sectors_moved %llu keys_moved %llu", 716 MAJOR(__entry->dev), MINOR(__entry->dev), 717 __entry->sectors_moved, __entry->keys_moved) 718); 719 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#undef TRACE_SYSTEM 3#define TRACE_SYSTEM bcachefs 4 5#if !defined(_TRACE_BCACHEFS_H) || defined(TRACE_HEADER_MULTI_READ) 6#define _TRACE_BCACHEFS_H 7 8#include <linux/tracepoint.h> --- 703 unchanged lines hidden (view full) --- 712 __entry->keys_moved = keys_moved; 713 ), 714 715 TP_printk("%d,%d sectors_moved %llu keys_moved %llu", 716 MAJOR(__entry->dev), MINOR(__entry->dev), 717 __entry->sectors_moved, __entry->keys_moved) 718); 719 |
720TRACE_EVENT(evacuate_bucket, 721 TP_PROTO(struct bch_fs *c, struct bpos *bucket, 722 unsigned sectors, unsigned bucket_size, 723 int ret), 724 TP_ARGS(c, bucket, sectors, bucket_size, ret), 725 726 TP_STRUCT__entry( 727 __field(dev_t, dev ) 728 __field(u64, member ) 729 __field(u64, bucket ) 730 __field(u32, sectors ) 731 __field(u32, bucket_size ) 732 __field(int, ret ) 733 ), 734 735 TP_fast_assign( 736 __entry->dev = c->dev; 737 __entry->member = bucket->inode; 738 __entry->bucket = bucket->offset; 739 __entry->sectors = sectors; 740 __entry->bucket_size = bucket_size; 741 __entry->ret = ret; 742 ), 743 744 TP_printk("%d,%d %llu:%llu sectors %u/%u ret %i", 745 MAJOR(__entry->dev), MINOR(__entry->dev), 746 __entry->member, __entry->bucket, 747 __entry->sectors, __entry->bucket_size, 748 __entry->ret) 749); 750 |
|
720TRACE_EVENT(copygc, 721 TP_PROTO(struct bch_fs *c, 722 u64 sectors_moved, u64 sectors_not_moved, 723 u64 buckets_moved, u64 buckets_not_moved), 724 TP_ARGS(c, 725 sectors_moved, sectors_not_moved, 726 buckets_moved, buckets_not_moved), 727 --- 441 unchanged lines hidden --- | 751TRACE_EVENT(copygc, 752 TP_PROTO(struct bch_fs *c, 753 u64 sectors_moved, u64 sectors_not_moved, 754 u64 buckets_moved, u64 buckets_not_moved), 755 TP_ARGS(c, 756 sectors_moved, sectors_not_moved, 757 buckets_moved, buckets_not_moved), 758 --- 441 unchanged lines hidden --- |