]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: Reset event name when falling back to cpu-clock
authorDavid Ahern <dsahern@gmail.com>
Tue, 8 May 2012 16:50:11 +0000 (10:50 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 May 2012 15:02:10 +0000 (12:02 -0300)
commit0c3623dad1ded4e1415dd8c6d50257bfa673bdca
treef1f518a8769cd55cfa0750dd7aced93148c4b5c1
parent8ea18ba44eb321abb7519dc96a447c2dc6d5c447
perf record: Reset event name when falling back to cpu-clock

perf-record defaults to the H/W cycles event and if it is not supported
falls back to cpu-clock. Reset the event name as well.

Signed-off-by: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1336495811-58461-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c