Displaying 1 result from an estimated 1 matches for "xc_tbuf_get_size".
2006 May 24
0
[PATCH] Fix xc_tbuf_enable assumption.
...ently xenbaked care the problem by setting tb_init_done=0 at exit time.
But xentrace does not care the problem.
Then error occured!(Cannot see the trace buffer.)
I added a code in xc_tbuf_enable to permit tb_init_done=1.
And I added to check trace buffer region is already allocated or not
by using xc_tbuf_get_size.
But This solution problem remains,
1) It cannot change the trace buffer size by using xc_tbuf_enable
If we do, we need to add more code to freeing xen buffer.
As other option.(at application layer)
Adding previous command tbctl.
This command switches tb_init_done =0 and 1.
Comments are app...