diff options
author | Ezequiel Garcia <elezegarcia@gmail.com> | 2012-10-11 00:54:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 01:50:15 +0200 |
commit | 3e1aa66bd423950aa69c3d50d91818af1d16e0a7 (patch) | |
tree | 3f9f0f6e2f396e7bf32978816c49e99a28855d56 /lib/libcrc32c.c | |
parent | rapidio: update for destination ID allocation (diff) | |
download | linux-3e1aa66bd423950aa69c3d50d91818af1d16e0a7.tar.xz linux-3e1aa66bd423950aa69c3d50d91818af1d16e0a7.zip |
lib/kasprintf.c: use kmalloc_track_caller() to get accurate traces for kvasprintf
Previously kvasprintf() allocation was being done through kmalloc(),
thus producing an inaccurate trace report.
This is a common problem: in order to get accurate callsite tracing, a
lib/utils function shouldn't allocate kmalloc but instead use
kmalloc_track_caller.
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions