Re: kmemleak for MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-03-24 at 09:27 +0000, Daniel Baluta wrote:
> > I want to check kmemleak for both ARM/MIPS. i am able to find kernel
> > patch for ARM at
> > http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-04/msg11830.html.
> > But I could not able to trace patch for MIPS.
> 
> It seems that kmemleak is not supported on MIPS.
> 
> According to 'depends on' config entry it is supported on:
> x86, arm, ppc, s390, sparc64, superh, microblaze and tile.
> 
> CÄtÄlin, can you confirm this? I will send a patch to update
> Documentation/kmemleak.txt.
> 
> Also, looking forward to work on making kmemleak available on MIPS.

It's not supported probably because no-one tried it, kmemleak is pretty
architecture-independent. You may need to add some standard symbols to
the vmlinux.lds.S if the linker complains and possibly annotate some
false positives if you get any.

Just add "depends on MIPS" and give it a try.

-- 
Catalin





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux