trace-events (4e9f5244e1945b2852b9ddcd7f023a7d19c9ecd7) trace-events (c2b38b277a7882a592f4f2ec955084b2b756daaa)
1# Trace events for debugging and performance instrumentation
2#
3# This file is processed by the tracetool script during the build.
4#
5# To add a new trace event:
6#
7# 1. Choose a name for the trace event. Declare its arguments and format
8# string.

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

20#
21# The <name> must be a valid as a C function name.
22#
23# Types should be standard C types. Use void * for pointers because the trace
24# system may not have the necessary headers included.
25#
26# The <format-string> should be a sprintf()-compatible format string.
27
1# Trace events for debugging and performance instrumentation
2#
3# This file is processed by the tracetool script during the build.
4#
5# To add a new trace event:
6#
7# 1. Choose a name for the trace event. Declare its arguments and format
8# string.

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

20#
21# The <name> must be a valid as a C function name.
22#
23# Types should be standard C types. Use void * for pointers because the trace
24# system may not have the necessary headers included.
25#
26# The <format-string> should be a sprintf()-compatible format string.
27
28# aio-posix.c
29run_poll_handlers_begin(void *ctx, int64_t max_ns) "ctx %p max_ns %"PRId64
30run_poll_handlers_end(void *ctx, bool progress) "ctx %p progress %d"
31poll_shrink(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
32poll_grow(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
33
34# thread-pool.c
35thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
36thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
37thread_pool_cancel(void *req, void *opaque) "req %p opaque %p"
38
39# ioport.c
40cpu_in(unsigned int addr, char size, unsigned int val) "addr %#x(%c) value %u"
41cpu_out(unsigned int addr, char size, unsigned int val) "addr %#x(%c) value %u"
42
43# balloon.c
44# Since requests are raised via monitor, not many tracepoints are needed.
45balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu"
46

--- 135 unchanged lines hidden ---
28# ioport.c
29cpu_in(unsigned int addr, char size, unsigned int val) "addr %#x(%c) value %u"
30cpu_out(unsigned int addr, char size, unsigned int val) "addr %#x(%c) value %u"
31
32# balloon.c
33# Since requests are raised via monitor, not many tracepoints are needed.
34balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu"
35

--- 135 unchanged lines hidden ---