This is returning the `filename` member from the `args` struct, which for tracepoint probes contains the tracepoint arguments.
This is returning the `filename` member from the `args` struct, which for tracepoint probes contains the tracepoint arguments. See the [Static Tracing, Kernel-Level Arguments](#6-tracepoint-static-tracing-kernel-level-arguments) section for the contents of this struct.
A future example is to add struct support to kprobes, so that this is possible (see issue [#34](https://github.com/iovisor/bpftrace/issues/34)):
Here is an example of dynamic tracing of the `vfs_open()` kernel function, via the short script path.bt: