forked from luck/tmp_suning_uos_patched
6308191f6f
1. TRACE_EVENT(sched_process_exec) forgets to actually use the old pid argument, it sets ->old_pid = p->pid. 2. search_binary_handler() uses the wrong pid number. tracepoint needs the global pid_t from the root namespace, while old_pid is the virtual pid number as it seen by the tracer/parent. With this patch we have two pid_t's in search_binary_handler(), not really nice. Perhaps we should switch to "struct pid*", but in this case it would be better to cleanup the current code first and move the "depth == 0" code outside. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: David Smith <dsmith@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Denys Vlasenko <dvlasenk@redhat.com> Link: http://lkml.kernel.org/r/20120330162636.GA4857@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org> |
||
---|---|---|
.. | ||
9p.h | ||
asoc.h | ||
block.h | ||
btrfs.h | ||
compaction.h | ||
ext3.h | ||
ext4.h | ||
gfpflags.h | ||
gpio.h | ||
irq.h | ||
jbd2.h | ||
jbd.h | ||
kmem.h | ||
kvm.h | ||
lock.h | ||
mce.h | ||
module.h | ||
napi.h | ||
net.h | ||
oom.h | ||
power.h | ||
printk.h | ||
rcu.h | ||
regmap.h | ||
regulator.h | ||
rpm.h | ||
sched.h | ||
scsi.h | ||
signal.h | ||
skb.h | ||
sock.h | ||
sunrpc.h | ||
syscalls.h | ||
task.h | ||
timer.h | ||
udp.h | ||
vmscan.h | ||
workqueue.h | ||
writeback.h | ||
xen.h |