Substitute panic(...) with printk(...) in dbi_unregister_uretprobe
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Tue, 19 Feb 2013 10:14:01 +0000 (14:14 +0400)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Tue, 19 Feb 2013 10:14:01 +0000 (14:14 +0400)
commit31eb9163a7064bdf05b2344fb757b9058d3407fe
tree4a99c87e1f25f7c3e89f3ceb357da5967cb8a4ab
parent446c01081d5bf7ed61e5f71f56e41e02021de9a0
Substitute panic(...) with printk(...) in dbi_unregister_uretprobe

Sometimes the stack cannot be recovered after userspace instrumentation
because the corresponding function does not save LR value. In this case
it is better to print a warning instead of calling panic (the worst that
can happen is the instrumented application crashing with segmentation
fault). Currently the function _start is known to cause such an error.
But actually it never returns so it is save to ignore this issue and
just recycle the coresponding retprobe instance.
kprobe/dbi_uprobes.c