* (no subject)
@ 2011-05-12 2:02 ttlxzz ccc
0 siblings, 0 replies; only message in thread
From: ttlxzz ccc @ 2011-05-12 2:02 UTC (permalink / raw)
To: linux-kernel
Hi, all:
I just want to use kmemleak, so I make the CONFIG_DEBUG_KMEMLEAK and
CONFIG_DEBUG_FS on, mount the debugfs.
But when I insmod mm/kmemleak-test.ko, echo scan >
/sys/kernel/debug/kmemleak and cat /sys/kernel/debug/kmemleak. I just
see this:
unreferenced object 0xffffc90012d21000 (size 64):
comm "insmod", pid 13092, jiffies 4298369684
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffffc90012d24000 (size 64):
comm "insmod", pid 13092, jiffies 4298369684
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffffc90012d27000 (size 64):
comm "insmod", pid 13092, jiffies 4298369684
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffffffffffff>] 0xffffffffffffffff
There is no other backtrace except [<ffffffffffffffff>]
0xffffffffffffffff. Then I read the mm/kmemleak.c. In
kmemleak_seq_show(), I find that the object->trace_len is 1.
How can I get the full backtrace?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-12 2:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 2:02 ttlxzz ccc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).