Re: [PATCH V2 3/4] oprofile: Abstract the perf-events backend

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Robert Richter
Date: Friday, August 27, 2010 - 7:31 am

On 26.08.10 15:09:18, Matt Fleming wrote:

You use CONFIG_HW_PERF_EVENTS while CONFIG_PERF_EVENTS in oprofile.h.



We need empty function stubs for all this functions for the
!CONFIG_PERF_EVENTS case returning -ENODEV or so. Otherwise
compliation will fail for it.

For arm this does not happen because of #ifdefs, but for sh.

Again, please first change the code and then move it without
functional changes, one patch each.

Thanks,

-Robert


-- 
Advanced Micro Devices, Inc.
Operating System Research Center

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH V2 3/4] oprofile: Abstract the perf-events backend, Matt Fleming, (Thu Aug 26, 12:09 pm)
Re: [PATCH V2 3/4] oprofile: Abstract the perf-events backend, Robert Richter, (Fri Aug 27, 7:31 am)