[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200906012022.13351.elendil@planet.nl>
Date: Mon, 1 Jun 2009 20:22:10 +0200
From: Frans Pop <elendil@...net.nl>
To: linux-kernel@...r.kernel.org
Cc: acme@...hat.com, paulus@...ba.org, hpa@...or.com, mingo@...hat.com,
jkacur@...hat.com, a.p.zijlstra@...llo.nl, efault@....de,
mtosatti@...hat.com, tglx@...utronix.de,
cjashfor@...ux.vnet.ibm.com, mingo@...e.hu
Subject: Re: [tip:perfcounters/core] perf_counter: Tidy up style details
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists