Displaying 1 result from an estimated 1 matches for "tbuf_get_info".
2006 Jun 01
1
[PATCH] Make xentrace hypercall a bit more sane
xentrace, setsize and the hypervisor don''t seem to be on the same
page. If tracing is not enabled, the hypercall will only allow
TBUF_SET_SIZE and TBUF_ENABLE. However, set_size calls TBUF_GET_INFO,
and xentrace wants to call TBUF_SET_EVT_MASK and TBUF_SET_CPU_MASK
before calling TBUF_ENABLE.
I don''t see any reason not to call SET_*_MASK and GET_INFO if tracing
is not enabled. If the buffer hasn''t been allocated yet, GET_INFO
should just return something invalid in the m...