perf evsel: Utility function to fetch arch
authorRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Thu, 30 Jun 2016 06:14:19 +0000 (11:44 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Jun 2016 11:37:32 +0000 (08:37 -0300)
commitf4e47f9f7b0bcbb1069b93bd719a1d34fb37d933
tree206fae79cff5c246ba87e862e2e37d4465243be7
parentde8a63bd5076761fad4e236c93350fdf297708be
perf evsel: Utility function to fetch arch

Add Utility function to fetch arch using evsel. (evsel->env->arch)

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anton Blanchard <anton@ozlabs.org>
Cc: Daniel Axtens <dja@axtens.net>
Cc: David Laight <David.Laight@ACULAB.COM>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1467267262-4589-2-git-send-email-ravi.bangoria@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c
tools/perf/util/evsel.h