summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-03-10 15:32:16 -0700
committerJosh Stone <jistone@redhat.com>2009-03-10 15:32:16 -0700
commitabb41d920aecf908a132597f0a4bc26a10e58a7c (patch)
tree9751644dbadba18c66201acd35a0339292804065 /main.cxx
parente0a17418b9d12e2a95dc345e95080ba31a41677f (diff)
downloadsystemtap-steved-abb41d920aecf908a132597f0a4bc26a10e58a7c.tar.gz
systemtap-steved-abb41d920aecf908a132597f0a4bc26a10e58a7c.tar.xz
systemtap-steved-abb41d920aecf908a132597f0a4bc26a10e58a7c.zip
PR9932: add @cast module search path
Sometimes @cast()ing can fail if the type needed may or may not be defined in a kernel module. This patch lets @cast take a colon- separated list of modules to search for the type definition. * tapsets.cxx (dwarf_cast_query): Simplify. Take the module and the code result as reference parameters, and use code.empty() as the sign that the type isn't resolved yet. (dwarf_cast_expanding_visitor::visit_cast_op): Split e->module by colon into substrings, and loop until the type is resolved.
Diffstat (limited to 'main.cxx')
0 files changed, 0 insertions, 0 deletions