1. 31 8月, 2010 1 次提交
    • W
      oprofile: don't call arch exit code from init code on failure · 979048e1
      Will Deacon 提交于
      oprofile_init calls oprofile_arch_init to initialise the architecture-specific
      backend code. If this backend code returns failure, oprofile_arch_exit is
      called immediately, making it difficult to allocate and free resources
      correctly.
      
      This patch removes the oprofile_arch_exit call from oprofile_init,
      meaning that all architectures must ensure that oprofile_arch_init
      cleans up any mess it's made before returning an error. As far as
      I can tell, this only affects the code for ARM.
      
      Cc: Robert Richter <robert.richter@amd.com>
      Cc: Matt Fleming <matt@console-pimps.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NRobert Richter <robert.richter@amd.com>
      979048e1
  2. 29 8月, 2010 25 次提交
  3. 28 8月, 2010 11 次提交
  4. 27 8月, 2010 3 次提交