perf record: Move machine variable down the function
authorJiri Olsa <jolsa@kernel.org>
Wed, 7 Mar 2018 15:50:04 +0000 (16:50 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 8 Mar 2018 14:30:42 +0000 (11:30 -0300)
commit20a8a3cf90215cebd916048e51a5bfa6c3707778
tree6318c000d0b7b938bdc84c0b5832cdfd1a89a518
parente971a5a8399a5e84164239a5c2d59b8a51314241
perf record: Move machine variable down the function

It's used far more down to be declared on the top of the __cmd_record.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180307155020.32613-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c