Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/share/systemtap/tapset/linux/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/systemtap/tapset/linux/endian.stp
function big_endian2:long (val:long) %{ /* pure */
	STAP_RETVALUE = cpu_to_be16(STAP_ARG_val);
%}

function big_endian4:long (val:long) %{ /* pure */
	STAP_RETVALUE = cpu_to_be32(STAP_ARG_val);
%}

function big_endian8:long (val:long) %{ /* pure */
	STAP_RETVALUE = cpu_to_be64(STAP_ARG_val);
%}

function little_endian2:long (val:long) %{ /* pure */
	STAP_RETVALUE = cpu_to_le16(STAP_ARG_val);
%}

function little_endian4:long (val:long) %{ /* pure */
	STAP_RETVALUE = cpu_to_le32(STAP_ARG_val);
%}

function little_endian8:long (val:long) %{ /* pure */
	STAP_RETVALUE = cpu_to_le64(STAP_ARG_val);
%}

haha - 2025