summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-03-16 17:07:33 +0100
committerIngo Molnar <mingo@elte.hu>2010-03-17 10:43:50 +0100
commit984763cb90d4b5444baa0c3e43feff7926bf1834 (patch)
tree460a558feaff3b1530a49086c0ef1444e305b10d /tools/perf/util/symbol.c
parent5cc718b9dad682329a60e73547c6e708faa5bbe4 (diff)
downloadlinux-984763cb90d4b5444baa0c3e43feff7926bf1834.tar.gz
linux-984763cb90d4b5444baa0c3e43feff7926bf1834.tar.bz2
linux-984763cb90d4b5444baa0c3e43feff7926bf1834.zip
perf, x86: Report error code that returned from x86_pmu.hw_config()
If x86_pmu.hw_config() fails a fixed error code (-EOPNOTSUPP) is returned even if a different error was reported. This patch fixes this. Signed-off-by: Robert Richter <robert.richter@amd.com> Acked-by: Cyrill Gorcunov <gorcunov@gmail.com> Acked-by: Lin Ming <ming.m.lin@intel.com> Cc: acme@redhat.com Cc: eranian@google.com Cc: gorcunov@openvz.org Cc: peterz@infradead.org Cc: fweisbec@gmail.com LKML-Reference: <20100316160733.GR1585@erda.amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/symbol.c')
0 files changed, 0 insertions, 0 deletions