aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDietmar Eggemann <[email protected]>2014-04-30 14:39:38 +0100
committerIngo Molnar <[email protected]>2014-05-22 11:16:30 +0200
commitcaffcdd8d27ba78730d5540396ce72ad022aff2c (patch)
treeed50e770fcc9c608ba39ab38924bb02fd63c8270 /tools/perf/util/trace-event-scripting.c
parentc515db8cd311ef77b2dc7cbd6b695022655bb0f3 (diff)
sched: Do not zero sg->cpumask and sg->sgp->power in build_sched_groups()
There is no need to zero struct sched_group member cpumask and struct sched_group_power member power since both structures are already allocated as zeroed memory in __sdt_alloc(). This patch has been tested with BUG_ON(!cpumask_empty(sched_group_cpus(sg))); and BUG_ON(sg->sgp->power); in build_sched_groups() on ARM TC2 and INTEL i5 M520 platform including CPU hotplug scenarios. Signed-off-by: Dietmar Eggemann <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions