xref: /openbmc/qemu/hw/hyperv/trace-events (revision be555ec4)
1# vmbus.c
2vmbus_recv_message(uint32_t type, uint32_t size) "type %d size %d"
3vmbus_signal_event(void) ""
4vmbus_channel_notify_guest(uint32_t chan_id) "channel #%d"
5vmbus_post_msg(uint32_t type, uint32_t size) "type %d size %d"
6vmbus_msg_cb(int status) "message status %d"
7vmbus_process_incoming_message(uint32_t message_type) "type %d"
8vmbus_initiate_contact(uint16_t major, uint16_t minor, uint32_t vcpu, uint64_t monitor_page1, uint64_t monitor_page2, uint64_t interrupt_page) "version %d.%d target vp %d mon pages 0x%"PRIx64",0x%"PRIx64" int page 0x%"PRIx64
9vmbus_send_offer(uint32_t chan_id, void *dev) "channel #%d dev %p"
10vmbus_terminate_offers(void) ""
11vmbus_gpadl_header(uint32_t gpadl_id, uint16_t num_gfns) "gpadl #%d gfns %d"
12vmbus_gpadl_body(uint32_t gpadl_id) "gpadl #%d"
13vmbus_gpadl_created(uint32_t gpadl_id) "gpadl #%d"
14vmbus_gpadl_teardown(uint32_t gpadl_id) "gpadl #%d"
15vmbus_gpadl_torndown(uint32_t gpadl_id) "gpadl #%d"
16vmbus_open_channel(uint32_t chan_id, uint32_t gpadl_id, uint32_t target_vp) "channel #%d gpadl #%d target vp %d"
17vmbus_channel_open(uint32_t chan_id, uint32_t status) "channel #%d status %d"
18vmbus_close_channel(uint32_t chan_id) "channel #%d"
19
20# hv-balloon
21hv_balloon_state_change(const char *tostr) "-> %s"
22hv_balloon_incoming_version(uint16_t major, uint16_t minor) "incoming proto version %u.%u"
23hv_balloon_incoming_caps(uint32_t caps) "incoming caps 0x%x"
24hv_balloon_outgoing_unballoon(uint32_t trans_id, uint64_t count, uint64_t start, uint64_t rempages) "posting unballoon %"PRIu32" for %"PRIu64" @ 0x%"PRIx64", remaining %"PRIu64
25hv_balloon_incoming_unballoon(uint32_t trans_id) "incoming unballoon response %"PRIu32
26hv_balloon_outgoing_hot_add(uint32_t trans_id, uint64_t count, uint64_t start) "posting hot add %"PRIu32" for %"PRIu64" @ 0x%"PRIx64
27hv_balloon_incoming_hot_add(uint32_t trans_id, uint32_t result, uint32_t count) "incoming hot add response %"PRIu32", result %"PRIu32", count %"PRIu32
28hv_balloon_outgoing_balloon(uint32_t trans_id, uint64_t count, uint64_t rempages) "posting balloon %"PRIu32" for %"PRIu64", remaining %"PRIu64
29hv_balloon_incoming_balloon(uint32_t trans_id, uint32_t range_count, uint32_t more_pages) "incoming balloon response %"PRIu32", ranges %"PRIu32", more %"PRIu32
30hv_balloon_our_range_add(uint64_t count, uint64_t start) "adding our range %"PRIu64" @ 0x%"PRIx64
31hv_balloon_remove_response(uint64_t count, uint64_t start, unsigned int both) "processing remove response range %"PRIu64" @ 0x%"PRIx64", both %u"
32hv_balloon_remove_response_hole(uint64_t counthole, uint64_t starthole, uint64_t countrange, uint64_t startrange, uint64_t starthpr, unsigned int both) "response range hole %"PRIu64" @ 0x%"PRIx64" from range %"PRIu64" @ 0x%"PRIx64", before our start 0x%"PRIx64", both %u"
33hv_balloon_remove_response_common(uint64_t countcommon, uint64_t startcommon, uint64_t countrange, uint64_t startrange, uint64_t counthpr, uint64_t starthpr, uint64_t removed, unsigned int both) "response common range %"PRIu64" @ 0x%"PRIx64" from range %"PRIu64" @ 0x%"PRIx64" with our %"PRIu64" @ 0x%"PRIx64", removed %"PRIu64", both %u"
34hv_balloon_remove_response_remainder(uint64_t count, uint64_t start, unsigned int both) "remove response remaining range %"PRIu64" @ 0x%"PRIx64", both %u"
35hv_balloon_map_slot(unsigned int idx, unsigned int total_slots, uint64_t offset) "mapping memslot %u / %u @ 0x%"PRIx64
36hv_balloon_unmap_slot(unsigned int idx, unsigned int total_slots, uint64_t offset) "unmapping memslot %u / %u @ 0x%"PRIx64
37