Messages in this thread | | | From | Frans Pop <> | Subject | Re: [tip:perfcounters/core] perf_counter: Tidy up style details | Date | Mon, 1 Jun 2009 20:22:10 +0200 |
| |
tip-bot for Ingo Molnar wrote: > @@ -3526,7 +3529,7 @@ inherit_counter(struct perf_counter *parent_counter, > /* > * Make the child state follow the state of the parent counter, > * not its hw_event.disabled bit. We hold the parent's mutex, > - * so we won't race with perf_counter_{en,dis}able_family. > + * so we won't race with perf_counter_{en, dis}able_family. > */ > if (parent_counter->state >= PERF_COUNTER_STATE_INACTIVE) > child_counter->state = PERF_COUNTER_STATE_INACTIVE;
I wouldn't call this an improvement TBH.
perf_counter_{en,dis}able_family expands to perf_counter_enable_family + perf_counter_disable_family
while perf_counter_{en, dis}able_family expands to perf_counter_enable_family + "perf_counter_ disable_family"
Cheers, FJP
| |