Re: [PATCH] sparc: perf: Remove redundant perf_pmu_{en|dis}able calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: David Ahern <david.ahern@xxxxxxxxxx>
Date: Thu, 19 Mar 2015 16:05:57 -0400

> perf_pmu_disable is called by core perf code before pmu->del and the
> enable function is called by core perf code afterwards. No need to
> call again within sparc_pmu_del.
> 
> Ditto for pmu->add and sparc_pmu_add.
> 
> Signed-off-by: David Ahern <david.ahern@xxxxxxxxxx>
> Acked-by: Bob Picco <bob.picco@xxxxxxxxxx>

Applied, thanks David.

I wonder why I coded it this way, maybe long ago in the past
the caller didn't do this.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux