xfs_trace.h (725eb1eb2ae88c200466fec34bcf1fbce4b8eca3) xfs_trace.h (5f6bed76c0c85cb4d04885a5de00b629deee550b)
1/*
2 * Copyright (c) 2009, Christoph Hellwig
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *

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

481 __print_flags(__entry->li_flags, "|", XFS_LI_FLAGS))
482)
483
484#define DEFINE_BUF_ITEM_EVENT(name) \
485DEFINE_EVENT(xfs_buf_item_class, name, \
486 TP_PROTO(struct xfs_buf_log_item *bip), \
487 TP_ARGS(bip))
488DEFINE_BUF_ITEM_EVENT(xfs_buf_item_size);
1/*
2 * Copyright (c) 2009, Christoph Hellwig
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *

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

481 __print_flags(__entry->li_flags, "|", XFS_LI_FLAGS))
482)
483
484#define DEFINE_BUF_ITEM_EVENT(name) \
485DEFINE_EVENT(xfs_buf_item_class, name, \
486 TP_PROTO(struct xfs_buf_log_item *bip), \
487 TP_ARGS(bip))
488DEFINE_BUF_ITEM_EVENT(xfs_buf_item_size);
489DEFINE_BUF_ITEM_EVENT(xfs_buf_item_size_ordered);
489DEFINE_BUF_ITEM_EVENT(xfs_buf_item_size_stale);
490DEFINE_BUF_ITEM_EVENT(xfs_buf_item_format);
490DEFINE_BUF_ITEM_EVENT(xfs_buf_item_size_stale);
491DEFINE_BUF_ITEM_EVENT(xfs_buf_item_format);
492DEFINE_BUF_ITEM_EVENT(xfs_buf_item_format_ordered);
491DEFINE_BUF_ITEM_EVENT(xfs_buf_item_format_stale);
493DEFINE_BUF_ITEM_EVENT(xfs_buf_item_format_stale);
494DEFINE_BUF_ITEM_EVENT(xfs_buf_item_ordered);
492DEFINE_BUF_ITEM_EVENT(xfs_buf_item_pin);
493DEFINE_BUF_ITEM_EVENT(xfs_buf_item_unpin);
494DEFINE_BUF_ITEM_EVENT(xfs_buf_item_unpin_stale);
495DEFINE_BUF_ITEM_EVENT(xfs_buf_item_unlock);
496DEFINE_BUF_ITEM_EVENT(xfs_buf_item_unlock_stale);
497DEFINE_BUF_ITEM_EVENT(xfs_buf_item_committed);
498DEFINE_BUF_ITEM_EVENT(xfs_buf_item_push);
499DEFINE_BUF_ITEM_EVENT(xfs_trans_get_buf);
500DEFINE_BUF_ITEM_EVENT(xfs_trans_get_buf_recur);
501DEFINE_BUF_ITEM_EVENT(xfs_trans_getsb);
502DEFINE_BUF_ITEM_EVENT(xfs_trans_getsb_recur);
503DEFINE_BUF_ITEM_EVENT(xfs_trans_read_buf);
504DEFINE_BUF_ITEM_EVENT(xfs_trans_read_buf_recur);
505DEFINE_BUF_ITEM_EVENT(xfs_trans_log_buf);
506DEFINE_BUF_ITEM_EVENT(xfs_trans_brelse);
507DEFINE_BUF_ITEM_EVENT(xfs_trans_bjoin);
508DEFINE_BUF_ITEM_EVENT(xfs_trans_bhold);
509DEFINE_BUF_ITEM_EVENT(xfs_trans_bhold_release);
510DEFINE_BUF_ITEM_EVENT(xfs_trans_binval);
495DEFINE_BUF_ITEM_EVENT(xfs_buf_item_pin);
496DEFINE_BUF_ITEM_EVENT(xfs_buf_item_unpin);
497DEFINE_BUF_ITEM_EVENT(xfs_buf_item_unpin_stale);
498DEFINE_BUF_ITEM_EVENT(xfs_buf_item_unlock);
499DEFINE_BUF_ITEM_EVENT(xfs_buf_item_unlock_stale);
500DEFINE_BUF_ITEM_EVENT(xfs_buf_item_committed);
501DEFINE_BUF_ITEM_EVENT(xfs_buf_item_push);
502DEFINE_BUF_ITEM_EVENT(xfs_trans_get_buf);
503DEFINE_BUF_ITEM_EVENT(xfs_trans_get_buf_recur);
504DEFINE_BUF_ITEM_EVENT(xfs_trans_getsb);
505DEFINE_BUF_ITEM_EVENT(xfs_trans_getsb_recur);
506DEFINE_BUF_ITEM_EVENT(xfs_trans_read_buf);
507DEFINE_BUF_ITEM_EVENT(xfs_trans_read_buf_recur);
508DEFINE_BUF_ITEM_EVENT(xfs_trans_log_buf);
509DEFINE_BUF_ITEM_EVENT(xfs_trans_brelse);
510DEFINE_BUF_ITEM_EVENT(xfs_trans_bjoin);
511DEFINE_BUF_ITEM_EVENT(xfs_trans_bhold);
512DEFINE_BUF_ITEM_EVENT(xfs_trans_bhold_release);
513DEFINE_BUF_ITEM_EVENT(xfs_trans_binval);
514DEFINE_BUF_ITEM_EVENT(xfs_trans_buf_ordered);
511
512DECLARE_EVENT_CLASS(xfs_lock_class,
513 TP_PROTO(struct xfs_inode *ip, unsigned lock_flags,
514 unsigned long caller_ip),
515 TP_ARGS(ip, lock_flags, caller_ip),
516 TP_STRUCT__entry(
517 __field(dev_t, dev)
518 __field(xfs_ino_t, ino)

--- 1405 unchanged lines hidden ---
515
516DECLARE_EVENT_CLASS(xfs_lock_class,
517 TP_PROTO(struct xfs_inode *ip, unsigned lock_flags,
518 unsigned long caller_ip),
519 TP_ARGS(ip, lock_flags, caller_ip),
520 TP_STRUCT__entry(
521 __field(dev_t, dev)
522 __field(xfs_ino_t, ino)

--- 1405 unchanged lines hidden ---