[ovs-dev] [PATCH 1/2] perf-counter: simplify the performance macro

Ben Pfaff blp at nicira.com
Sun Jun 7 18:09:20 UTC 2015


On Mon, Jun 01, 2015 at 03:34:51PM -0700, Andy Zhou wrote:
> Replace the original PERF_FUNCTION_BEGIN and PERF_FUNCTION_END pair
> with a single PERF macro. This design is also more flexible, removing
> the restriction of have only one measurement per function.
> 
> The next patch will make use of this macro.
> 
> Signed-off-by: Andy Zhou <azhou at nicira.com>

The patch looks OK but I get the impression that the changes to
perf-counter.c are independent to the main purpose of the patch.



More information about the dev mailing list