[Bug translator/10977] Getting the address size used in a module
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Nov 18 17:10:00 GMT 2009
------- Additional Comments From fche at redhat dot com 2009-11-18 17:10 -------
If this need not be a compile-time literal/constant, then you could add
something like this into the tapset:
function kernel_arch_bits:long () %{ THIS->__retvalue = (int64_t) sizeof(long); %}
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10977
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list