diff options
| author | Tom Rini <[email protected]> | 2022-04-11 10:15:06 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-11 10:15:06 -0400 |
| commit | c45d38d6515811c05469fe4df6d351d7e4f990f0 (patch) | |
| tree | f965f66f82242027746ba8bba0abb442aeed09be /scripts | |
| parent | b598957206e541b3f8876ae34a15fac6da90dcef (diff) | |
| parent | 02fc867810866904966d45c3e290810c4a196543 (diff) | |
Merge branch '2022-04-11-initial-valgrind-support'
To quote the author:
This series adds support for running valgrind against U-Boot's internal
malloc. This allows for much more useful reports to be generated.
Some example output of valgrind run against u-boot/master with this
branch applied may be found at [1]. Note that valgrind gives up around
acpi. This feature still needs a lot of work on suppressions/hints to
filter out the noise properly.
[1] https://gist.githubusercontent.com/Forty-Bot/199bf06f9cdd6871e54f8f484c16e111/raw/2a2f99108eef84b48e27a54332f3f71f4e2e5342/gistfile1.txt
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/u-boot.supp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/scripts/u-boot.supp b/scripts/u-boot.supp new file mode 100644 index 00000000000..9562b27a617 --- /dev/null +++ b/scripts/u-boot.supp @@ -0,0 +1,53 @@ +{ + dlmalloc + Memcheck:Addr1 + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Addr4 + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Addr8 + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Addr1 + fun:* + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Addr4 + fun:* + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Addr8 + fun:* + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Value4 + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Value8 + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Cond + src:dlmalloc.c +} +{ + dlmalloc + Memcheck:Free + src:dlmalloc.c +} |
