|
From: | Peter Maydell |
Subject: | Re: [Qemu-devel] [PATCH v2 3/3] trace: instrument and trace tcg tb flush activity |
Date: | Tue, 15 Jul 2014 13:23:02 +0100 |
On 15 July 2014 12:42, Alex Bennée <address@hidden> wrote: > +#ifndef CONFIG_TRACE_NOP > +static inline void trace_inc_counter(int *counter) { > + int cnt = *counter; > + cnt++; > + *counter = cnt; > +} ...why isn't this just "*counter++;" ? -- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |