]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
common_probe_context.h: Put Individual Probe State (ips) into a union.
authorMark Wielaard <mjw@redhat.com>
Wed, 3 Aug 2011 09:17:00 +0000 (11:17 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 3 Aug 2011 11:31:16 +0000 (13:31 +0200)
commit6dceb5c9bd2848c9bddde19d881444b7df8bee1d
tree1154499e571a9de570dae361d3db28e74a5a5f9f
parent6eefe9428f47a767f6a504dddb8f385d6896ccf3
common_probe_context.h: Put Individual Probe State (ips) into a union.

Various probe handlers have dedicated fields in the common probe context
struct. Since the handlers cannot be active at the same time (on the same
cpu) these can just be put into a union to save space. In runtime code
when there might be ambiguity about which probe handler is running, the
CONTEXT->probe_type field can be used to check which field has actual
life data.
runtime/common_probe_context.h
runtime/stack.c
tapset-mark.cxx
tapset-procfs.cxx
tapset/context-unwind.stp
tapset/context.stp
tapset/kretprobe.stp
tapsets.cxx
This page took 0.026548 seconds and 5 git commands to generate.