From 60ea929119a82b462bc32dd42a48972ee04420e0 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 18 Feb 2009 17:59:14 -0800 Subject: Add NEWS and manpage info about @cast() --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 12e44323..280b6fb2 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,11 @@ * What's new in version 0.9 +- Typecasting is now supported using the @cast operator. A script can + define a pointer type for a "long" value, and then access type members + using the same syntax as with $target variables. For example, this will + retrieve the parent pid from a kernel task_struct: + @cast(pointer, "task_struct", "kernel")->parent->pid + - process().mark() probes are now possible to trace static user space markers put in programs with the STAP_PROBE macro using the new sys/sdt.h include file. This also provides dtrace compatible markers -- cgit