xfs_trace.h (0ea8a56de21be24cb79abb03dee79aabcd60a316) xfs_trace.h (664ffb8a429a800c51964b94c15c6a92c8d8334c)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2009, Christoph Hellwig
4 * All Rights Reserved.
5 */
6#undef TRACE_SYSTEM
7#define TRACE_SYSTEM xfs
8

--- 324 unchanged lines hidden (view full) ---

333DEFINE_BUF_EVENT(xfs_buf_iowait);
334DEFINE_BUF_EVENT(xfs_buf_iowait_done);
335DEFINE_BUF_EVENT(xfs_buf_delwri_queue);
336DEFINE_BUF_EVENT(xfs_buf_delwri_queued);
337DEFINE_BUF_EVENT(xfs_buf_delwri_split);
338DEFINE_BUF_EVENT(xfs_buf_delwri_pushbuf);
339DEFINE_BUF_EVENT(xfs_buf_get_uncached);
340DEFINE_BUF_EVENT(xfs_buf_item_relse);
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2009, Christoph Hellwig
4 * All Rights Reserved.
5 */
6#undef TRACE_SYSTEM
7#define TRACE_SYSTEM xfs
8

--- 324 unchanged lines hidden (view full) ---

333DEFINE_BUF_EVENT(xfs_buf_iowait);
334DEFINE_BUF_EVENT(xfs_buf_iowait_done);
335DEFINE_BUF_EVENT(xfs_buf_delwri_queue);
336DEFINE_BUF_EVENT(xfs_buf_delwri_queued);
337DEFINE_BUF_EVENT(xfs_buf_delwri_split);
338DEFINE_BUF_EVENT(xfs_buf_delwri_pushbuf);
339DEFINE_BUF_EVENT(xfs_buf_get_uncached);
340DEFINE_BUF_EVENT(xfs_buf_item_relse);
341DEFINE_BUF_EVENT(xfs_buf_item_iodone_async);
341DEFINE_BUF_EVENT(xfs_buf_iodone_async);
342DEFINE_BUF_EVENT(xfs_buf_error_relse);
343DEFINE_BUF_EVENT(xfs_buf_wait_buftarg);
344DEFINE_BUF_EVENT(xfs_trans_read_buf_shut);
345
346/* not really buffer traces, but the buf provides useful information */
347DEFINE_BUF_EVENT(xfs_btree_corrupt);
348DEFINE_BUF_EVENT(xfs_reset_dqcounts);
349

--- 3321 unchanged lines hidden (view full) ---

3671
3672#define DEFINE_KMEM_EVENT(name) \
3673DEFINE_EVENT(xfs_kmem_class, name, \
3674 TP_PROTO(ssize_t size, int flags, unsigned long caller_ip), \
3675 TP_ARGS(size, flags, caller_ip))
3676DEFINE_KMEM_EVENT(kmem_alloc);
3677DEFINE_KMEM_EVENT(kmem_alloc_io);
3678DEFINE_KMEM_EVENT(kmem_alloc_large);
342DEFINE_BUF_EVENT(xfs_buf_error_relse);
343DEFINE_BUF_EVENT(xfs_buf_wait_buftarg);
344DEFINE_BUF_EVENT(xfs_trans_read_buf_shut);
345
346/* not really buffer traces, but the buf provides useful information */
347DEFINE_BUF_EVENT(xfs_btree_corrupt);
348DEFINE_BUF_EVENT(xfs_reset_dqcounts);
349

--- 3321 unchanged lines hidden (view full) ---

3671
3672#define DEFINE_KMEM_EVENT(name) \
3673DEFINE_EVENT(xfs_kmem_class, name, \
3674 TP_PROTO(ssize_t size, int flags, unsigned long caller_ip), \
3675 TP_ARGS(size, flags, caller_ip))
3676DEFINE_KMEM_EVENT(kmem_alloc);
3677DEFINE_KMEM_EVENT(kmem_alloc_io);
3678DEFINE_KMEM_EVENT(kmem_alloc_large);
3679DEFINE_KMEM_EVENT(kmem_realloc);
3680
3681TRACE_EVENT(xfs_check_new_dalign,
3682 TP_PROTO(struct xfs_mount *mp, int new_dalign, xfs_ino_t calc_rootino),
3683 TP_ARGS(mp, new_dalign, calc_rootino),
3684 TP_STRUCT__entry(
3685 __field(dev_t, dev)
3686 __field(int, new_dalign)
3687 __field(xfs_ino_t, sb_rootino)

--- 165 unchanged lines hidden ---
3679
3680TRACE_EVENT(xfs_check_new_dalign,
3681 TP_PROTO(struct xfs_mount *mp, int new_dalign, xfs_ino_t calc_rootino),
3682 TP_ARGS(mp, new_dalign, calc_rootino),
3683 TP_STRUCT__entry(
3684 __field(dev_t, dev)
3685 __field(int, new_dalign)
3686 __field(xfs_ino_t, sb_rootino)

--- 165 unchanged lines hidden ---