This file is indexed.

/usr/share/systemtap/tapset/container_of.stpm is in systemtap-common 2.6-0.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
@define container_of(ptr, type, member) %(
    @cast(@ptr - @offsetof(@type, @member), @type)
%)

@define module_container_of(ptr, module, type, member) %(
    @cast(@ptr - @module_offsetof(@module, @type, @member), @type, @module)
%)