]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
PR14436: fix target vars for process.function.return probes
authorJonathan Lebon <jlebon@redhat.com>
Mon, 3 Mar 2014 22:48:10 +0000 (17:48 -0500)
committerJonathan Lebon <jlebon@redhat.com>
Tue, 4 Mar 2014 21:25:07 +0000 (16:25 -0500)
commit5a617dc67be818c58b6a39392d3c5c458c0d3128
treefde39e4221b28fdf21d9adfa10f4566bbb01a113
parent7761da8bb5281787717bfecbabf2b633a6ef902a
PR14436: fix target vars for process.function.return probes

Because uretprobes rely on modifying the stack in order to catch
returns, they always had to be placed at the function's entrypc, which
meant that prologue searching could not be performed (see also PR13200).

This patch re-enables prologue searching for .return probes if necessary
(i.e. if code is unoptimized). The uretprobe remains at the entrypc, but
target variables are expanded at the prologue end and the paired entry
probe is also placed there rather than at the entrypc.
tapsets.cxx
This page took 0.025795 seconds and 5 git commands to generate.