|
From: John R. <jr...@bi...> - 2009-10-20 13:47:06
|
> I need to run Valgrind on a AVR32 architecture (with Linux OS)... > I was thinking about porting valgrind to AVR32... You need to write a disassembler which interfaces to Valgrind's internal framework for representation of code, and a code generator which interfaces to Valgrind's runtime supervisor. You must also be an expert on the implementation of pthreads (POSIX threads) for AVR32. Plan on a couple years of work. In the vast majority of cases the apps which run on AVR32 using Linux OS also can run on x86 using Linux OS. Therefore, run your apps under Valgrind on x86 (or even x86_64) while you are porting Valgrind to AVR32. You will get 97% of the benefit without waiting for the port to finish. x86 boxes are very inexpensive. They are so inexpensive that any significant application can afford to buy one, use it to run Valgrind, discard the x86 box after ONE YEAR, and still come out ahead. -- |