diff options
author | 2016-04-28 16:19:09 -0700 | |
---|---|---|
committer | 2016-04-28 19:34:04 -0700 | |
commit | 33334e25769c6ad69b983379578f42581d99a2f9 (patch) | |
tree | 2155c46b6af3bb6a37909cdb74cb94b4bf071124 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rapidio: fix potential NULL pointer dereference (diff) | |
download | linux-dev-33334e25769c6ad69b983379578f42581d99a2f9.tar.xz linux-dev-33334e25769c6ad69b983379578f42581d99a2f9.zip |
lib/stackdepot.c: allow the stack trace hash to be zero
Do not bail out from depot_save_stack() if the stack trace has zero hash.
Initially depot_save_stack() silently dropped stack traces with zero
hashes, however there's actually no point in reserving this zero value.
Reported-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Alexander Potapenko <glider@google.com>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions