All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] malloc: Enable profiling dlmalloc with valgrind
@ 2021-05-05 20:08 Sean Anderson
  2021-05-05 20:08 ` [PATCH v2 1/3] Add valgrind headers to U-Boot Sean Anderson
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Sean Anderson @ 2021-05-05 20:08 UTC (permalink / raw)
  To: u-boot

This series adds support for running valgrind against U-Boot's internal
malloc. This allows for much more useful reports to be generated.

Changes in v2:
- Fix one branch of rEALLOc missing a VALGRING_*_BLOCK call
- Add some additional suppressions for cALLOc and rEALLOc
- Simplify calloc clearing logic
- Drop incorrect sbrk patch

Sean Anderson (3):
  Add valgrind headers to U-Boot
  malloc: Annotate allocator for valgrind
  doc: sandbox: Document how to run sandbox with valgrind

 Kconfig                     |   14 +
 Licenses/README             |    1 +
 Licenses/bzip2-1.0.6.txt    |   30 +
 common/dlmalloc.c           |   35 +-
 common/malloc_simple.c      |   10 +
 doc/arch/sandbox.rst        |   14 +-
 include/malloc.h            |    4 +
 include/valgrind/memcheck.h |  251 ++
 include/valgrind/valgrind.h | 7106 +++++++++++++++++++++++++++++++++++
 scripts/u-boot.supp         |   53 +
 10 files changed, 7513 insertions(+), 5 deletions(-)
 create mode 100644 Licenses/bzip2-1.0.6.txt
 create mode 100644 include/valgrind/memcheck.h
 create mode 100644 include/valgrind/valgrind.h
 create mode 100644 scripts/u-boot.supp

-- 
2.31.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-03-22  1:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 20:08 [PATCH v2 0/3] malloc: Enable profiling dlmalloc with valgrind Sean Anderson
2021-05-05 20:08 ` [PATCH v2 1/3] Add valgrind headers to U-Boot Sean Anderson
2021-05-17 21:18   ` Tom Rini
2021-05-18  1:36     ` Sean Anderson
2021-05-18  1:39       ` Tom Rini
2022-03-21 18:06         ` Simon Glass
2022-03-22  1:00           ` Sean Anderson
2021-05-05 20:08 ` [PATCH v2 2/3] malloc: Annotate allocator for valgrind Sean Anderson
2021-05-05 20:08 ` [PATCH v2 3/3] doc: sandbox: Document how to run sandbox with valgrind Sean Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.