xref: /openbmc/qemu/hw/9pfs/trace-events (revision 92e667f6)
1d0fb9657SStefano Garzarella# See docs/devel/tracing.rst for syntax documentation.
2d018a2e9SDaniel P. Berrange
3dec97760SMarkus Armbruster# 9p.c
4fc78d5eeSKeno Fischerv9fs_rcancel(uint16_t tag, uint8_t id) "tag %d id %d"
5d018a2e9SDaniel P. Berrangev9fs_rerror(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d"
6d018a2e9SDaniel P. Berrangev9fs_version(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
7d018a2e9SDaniel P. Berrangev9fs_version_return(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
8d018a2e9SDaniel P. Berrangev9fs_attach(uint16_t tag, uint8_t id, int32_t fid, int32_t afid, char* uname, char* aname) "tag %u id %u fid %d afid %d uname %s aname %s"
987032833SAntonios Motakisv9fs_attach_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path) "tag %u id %u type %u version %u path %"PRIu64
10d018a2e9SDaniel P. Berrangev9fs_stat(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
11d018a2e9SDaniel P. Berrangev9fs_stat_return(uint16_t tag, uint8_t id, int32_t mode, int32_t atime, int32_t mtime, int64_t length) "tag %d id %d stat={mode %d atime %d mtime %d length %"PRId64"}"
12d018a2e9SDaniel P. Berrangev9fs_getattr(uint16_t tag, uint8_t id, int32_t fid, uint64_t request_mask) "tag %d id %d fid %d request_mask %"PRIu64
13d018a2e9SDaniel P. Berrangev9fs_getattr_return(uint16_t tag, uint8_t id, uint64_t result_mask, uint32_t mode, uint32_t uid, uint32_t gid) "tag %d id %d getattr={result_mask %"PRId64" mode %u uid %u gid %u}"
14d018a2e9SDaniel P. Berrangev9fs_walk(uint16_t tag, uint8_t id, int32_t fid, int32_t newfid, uint16_t nwnames) "tag %d id %d fid %d newfid %d nwnames %d"
15d018a2e9SDaniel P. Berrangev9fs_walk_return(uint16_t tag, uint8_t id, uint16_t nwnames, void* qids) "tag %d id %d nwnames %d qids %p"
16d018a2e9SDaniel P. Berrangev9fs_open(uint16_t tag, uint8_t id, int32_t fid, int32_t mode) "tag %d id %d fid %d mode %d"
1787032833SAntonios Motakisv9fs_open_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int iounit) "tag %u id %u qid={type %u version %u path %"PRIu64"} iounit %d"
18d018a2e9SDaniel P. Berrangev9fs_lcreate(uint16_t tag, uint8_t id, int32_t dfid, int32_t flags, int32_t mode, uint32_t gid) "tag %d id %d dfid %d flags %d mode %d gid %u"
1987032833SAntonios Motakisv9fs_lcreate_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int32_t iounit) "tag %u id %u qid={type %u version %u path %"PRIu64"} iounit %d"
20d018a2e9SDaniel P. Berrangev9fs_fsync(uint16_t tag, uint8_t id, int32_t fid, int datasync) "tag %d id %d fid %d datasync %d"
21d018a2e9SDaniel P. Berrangev9fs_clunk(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
22d018a2e9SDaniel P. Berrangev9fs_read(uint16_t tag, uint8_t id, int32_t fid, uint64_t off, uint32_t max_count) "tag %d id %d fid %d off %"PRIu64" max_count %u"
23d018a2e9SDaniel P. Berrangev9fs_read_return(uint16_t tag, uint8_t id, int32_t count, ssize_t err) "tag %d id %d count %d err %zd"
24d018a2e9SDaniel P. Berrangev9fs_readdir(uint16_t tag, uint8_t id, int32_t fid, uint64_t offset, uint32_t max_count) "tag %d id %d fid %d offset %"PRIu64" max_count %u"
25d018a2e9SDaniel P. Berrangev9fs_readdir_return(uint16_t tag, uint8_t id, uint32_t count, ssize_t retval) "tag %d id %d count %u retval %zd"
26d018a2e9SDaniel P. Berrangev9fs_write(uint16_t tag, uint8_t id, int32_t fid, uint64_t off, uint32_t count, int cnt) "tag %d id %d fid %d off %"PRIu64" count %u cnt %d"
27d018a2e9SDaniel P. Berrangev9fs_write_return(uint16_t tag, uint8_t id, int32_t total, ssize_t err) "tag %d id %d total %d err %zd"
28d018a2e9SDaniel P. Berrangev9fs_create(uint16_t tag, uint8_t id, int32_t fid, char* name, int32_t perm, int8_t mode) "tag %d id %d fid %d name %s perm %d mode %d"
2987032833SAntonios Motakisv9fs_create_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int iounit) "tag %u id %u qid={type %u version %u path %"PRIu64"} iounit %d"
30d018a2e9SDaniel P. Berrangev9fs_symlink(uint16_t tag, uint8_t id, int32_t fid,  char* name, char* symname, uint32_t gid) "tag %d id %d fid %d name %s symname %s gid %u"
3187032833SAntonios Motakisv9fs_symlink_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path) "tag %u id %u qid={type %u version %u path %"PRIu64"}"
32d018a2e9SDaniel P. Berrangev9fs_flush(uint16_t tag, uint8_t id, int16_t flush_tag) "tag %d id %d flush_tag %d"
33d018a2e9SDaniel P. Berrangev9fs_link(uint16_t tag, uint8_t id, int32_t dfid, int32_t oldfid, char* name) "tag %d id %d dfid %d oldfid %d name %s"
34d018a2e9SDaniel P. Berrangev9fs_remove(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
35d018a2e9SDaniel P. Berrangev9fs_wstat(uint16_t tag, uint8_t id, int32_t fid, int32_t mode, int32_t atime, int32_t mtime) "tag %u id %u fid %d stat={mode %d atime %d mtime %d}"
36d018a2e9SDaniel P. Berrangev9fs_mknod(uint16_t tag, uint8_t id, int32_t fid, int mode, int major, int minor) "tag %d id %d fid %d mode %d major %d minor %d"
3787032833SAntonios Motakisv9fs_mknod_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path) "tag %u id %u qid={type %u version %u path %"PRIu64"}"
38d018a2e9SDaniel P. Berrangev9fs_lock(uint16_t tag, uint8_t id, int32_t fid, uint8_t type, uint64_t start, uint64_t length) "tag %d id %d fid %d type %d start %"PRIu64" length %"PRIu64
39d018a2e9SDaniel P. Berrangev9fs_lock_return(uint16_t tag, uint8_t id, int8_t status) "tag %d id %d status %d"
40d018a2e9SDaniel P. Berrangev9fs_getlock(uint16_t tag, uint8_t id, int32_t fid, uint8_t type, uint64_t start, uint64_t length)"tag %d id %d fid %d type %d start %"PRIu64" length %"PRIu64
41d018a2e9SDaniel P. Berrangev9fs_getlock_return(uint16_t tag, uint8_t id, uint8_t type, uint64_t start, uint64_t length, uint32_t proc_id) "tag %d id %d type %d start %"PRIu64" length %"PRIu64" proc_id %u"
42d018a2e9SDaniel P. Berrangev9fs_mkdir(uint16_t tag, uint8_t id, int32_t fid, char* name, int mode, uint32_t gid) "tag %u id %u fid %d name %s mode %d gid %u"
4387032833SAntonios Motakisv9fs_mkdir_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int err) "tag %u id %u qid={type %u version %u path %"PRIu64"} err %d"
44d018a2e9SDaniel P. Berrangev9fs_xattrwalk(uint16_t tag, uint8_t id, int32_t fid, int32_t newfid, char* name) "tag %d id %d fid %d newfid %d name %s"
45d018a2e9SDaniel P. Berrangev9fs_xattrwalk_return(uint16_t tag, uint8_t id, int64_t size) "tag %d id %d size %"PRId64
463b79ef2cSGreg Kurzv9fs_xattrcreate(uint16_t tag, uint8_t id, int32_t fid, char* name, uint64_t size, int flags) "tag %d id %d fid %d name %s size %"PRIu64" flags %d"
47d018a2e9SDaniel P. Berrangev9fs_readlink(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
48d018a2e9SDaniel P. Berrangev9fs_readlink_return(uint16_t tag, uint8_t id, char* target) "tag %d id %d name %s"
498f9c64bfSGreg Kurzv9fs_setattr(uint16_t tag, uint8_t id, int32_t fid, int32_t valid, int32_t mode, int32_t uid, int32_t gid, int64_t size, int64_t atime_sec, int64_t mtime_sec) "tag %u id %u fid %d iattr={valid %d mode %d uid %d gid %d size %"PRId64" atime=%"PRId64" mtime=%"PRId64" }"
508f9c64bfSGreg Kurzv9fs_setattr_return(uint16_t tag, uint8_t id) "tag %u id %u"
51*92e667f6SJason Andryuk
52*92e667f6SJason Andryuk# xen-9p-backend.c
53*92e667f6SJason Andryukxen_9pfs_alloc(char *name) "name %s"
54*92e667f6SJason Andryukxen_9pfs_connect(char *name) "name %s"
55*92e667f6SJason Andryukxen_9pfs_disconnect(char *name) "name %s"
56*92e667f6SJason Andryukxen_9pfs_free(char *name) "name %s"
57