commit | 53ab668064edaeef99c0ee22799483d45f4c81f6 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Wed Dec 30 14:24:03 2009 +0800 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Dec 30 07:50:50 2009 +0100 |
tree | 1aa92f9e5bbddb61cbc3d5683180dc64abe341fc | |
parent | e6d9491bf8ba6728cc86aeabbc688d20ec0563b5 [diff] |
ksym_tracer: Remove trace_stat trace_stat is problematic. Don't use it, use seqfile instead. This fixes a race that reading the stat file is not protected by any lock, which can lead to use after free. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: K.Prasad <prasad@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <4B3AF203.40200@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>