diff options
author | Peter Oberparleiter <oberpar@linux.vnet.ibm.com> | 2010-09-09 16:37:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-09 18:57:23 -0700 |
commit | 85a0fdfd0f967507f3903e8419bc7e408f5a59de (patch) | |
tree | 2b430fc9689701f8b6da8bd9fa83feda8b6d972c /fs | |
parent | 2f327dad14aa8bc939a4f0a2d3fdcf64a2d8c09e (diff) | |
download | linux-85a0fdfd0f967507f3903e8419bc7e408f5a59de.tar.bz2 |
gcov: fix null-pointer dereference for certain module types
The gcov-kernel infrastructure expects that each object file is loaded
only once. This may not be true, e.g. when loading multiple kernel
modules which are linked to the same object file. As a result, loading
such kernel modules will result in incorrect gcov results while unloading
will cause a null-pointer dereference.
This patch fixes these problems by changing the gcov-kernel infrastructure
so that multiple profiling data sets can be associated with one debugfs
entry. It applies to 2.6.36-rc1.
Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Reported-by: Werner Spies <werner.spies@thalesgroup.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions