]> git.baikalelectronics.ru Git - kernel.git/commit
perf newt: Use newtAddComponent()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 May 2010 13:51:25 +0000 (10:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 May 2010 13:51:25 +0000 (10:51 -0300)
commitf9e15fad4c1b8abf6c440effb257a8c0a2726081
treed8ffc9d666e306b78f5023b5b4ded3d6174583d8
parent6af9dd61b79830936b618d2bbf5f3371e028d6cd
perf newt: Use newtAddComponent()

Instead of newtAddComponents(just-one-entry, NULL), that is not needed
if, like in this browser, we're adding just one component at a time.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/newt.c