diff options
author | Josh Stone <jistone@redhat.com> | 2009-03-10 15:32:16 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-03-10 15:32:16 -0700 |
commit | abb41d920aecf908a132597f0a4bc26a10e58a7c (patch) | |
tree | 9751644dbadba18c66201acd35a0339292804065 /main.cxx | |
parent | e0a17418b9d12e2a95dc345e95080ba31a41677f (diff) | |
download | systemtap-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