[sheepdog] [PATCH v2 0/7] rework trace to work with current code
Liu Yuan
namei.unix at gmail.com
Fri Aug 31 05:02:50 CEST 2012
On 08/30/2012 05:38 PM, Liu Yuan wrote:
> v2:
> - fix ret_stack_index type
> - mark two too high volume of functions as notrace
> - change TRACE_CAT opcode to TRACE_READ_BUF
>
> ==================================
> There are mainly two changes:
> 1 remove dumb ring_buffer and use strbuf to store trace items
> 2 use another mechanism to suspend/resume worker threads for dynamic patching.
>
> As before, if users don't configure with --enable-trace, there is actually zero
> impact on the code base. All the tracer funtions will be complied out completely
> from binary.
>
> With reworks, add a new field to trace output: thread name (worker_name + worker_idx).
Applied, thanks.
Yuan
More information about the sheepdog
mailing list