gtrace

Experimental system call tracer for Linux x86-64, written in Go

Github stars Tracking Chart

gtrace

A system call tracer for Linux x86-64.

DISCLAIMER: This software is experimental and not considered stable. Do
not use it in mission-critical environments.

Installation

$ go get -u github.com/agis/gtrace

Usage

Currently only attaching to an already running process is supported. Also,
arguments are not decoded yet.

Attach to a process by specifying its pid:

$ ./gtrace -p 2602
Attached to process 2602...
futex = 0
write = 2
write = 1
futex = 0
write = 2
^C

Feature work

  • Decode arguments
  • terminal GUI with live statistics/counters
  • filter for certain syscalls
  • ARM support

Building

$ go generate
$ go build

Main metrics

Overview
Name With Owneragis/gtrace
Primary LanguageC
Program languageGo (Language Count: 2)
Platform
License:
所有者活动
Created At2017-02-11 23:19:13
Pushed At2020-12-22 11:33:58
Last Commit At2019-11-25 11:42:00
Release Count0
用户参与
Stargazers Count73
Watchers Count3
Fork Count1
Commits Count12
Has Issues Enabled
Issues Count6
Issue Open Count5
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private