/usr/share/systemtap/tapset/system.stp is in systemtap-common 2.3-1ubuntu1.
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 8 9 10 11 12 13 | /**
* sfunction system - Issue a command to the system
*
* @cmd: the command to issue to the system
*
* Description: This function runs a command on the system. The
* command is started in the background some time after the current
* probe completes. The command is run with the same UID as the user
* running the stap or staprun command.
*/
function system (cmd:string) %{ /* unprivileged */
_stp_ctl_send(STP_SYSTEM, STAP_ARG_cmd, strlen(STAP_ARG_cmd)+1);
%}
|