]> git.baikalelectronics.ru Git - kernel.git/commit
perf stat: Fix shadow declaration of close
authorJiri Olsa <jolsa@redhat.com>
Wed, 8 Jul 2015 11:17:31 +0000 (13:17 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Jul 2015 13:04:58 +0000 (10:04 -0300)
commit153d3a253bdc3ea2428dab89c7510e87f8b4efe5
tree31123d431d3bdf912d4b717db2ec8e546d53fdd9
parent5042a107588c3980f063762cfacc53f98ea77cc3
perf stat: Fix shadow declaration of close

Vinson reported shadow declaration of close introduced
by the following commit:

  512fe06e7a3a perf stat: Introduce read_counters function

Using close_counters name instead.

Reported-by: Vinson Lee <vlee@twopensource.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Fixes: 512fe06e7a3a ("perf stat: Introduce read_counters function")
Link: http://lkml.kernel.org/r/20150708111731.GA3512@krava.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c