perf evsel: Use variable instead of repeating lengthy FD macro
authorJiri Olsa <jolsa@kernel.org>
Mon, 12 Dec 2016 10:35:40 +0000 (11:35 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Dec 2016 19:25:45 +0000 (16:25 -0300)
commit83c2e4f3968d6871eed295f2f5675d3d70b01afa
tree40f9d3110ee4d89353fa0f82075757d1bd5ce053
parent631ac41b46d293fb3ee43a809776c1663de8d9c6
perf evsel: Use variable instead of repeating lengthy FD macro

It's more readable and will ease up following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1481538943-21874-3-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c