efunc

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 8 Imported by: 0

README

efunc

efunc is general-purpose kernel function tracer tool like ftrace funcgraph, which was inspired by retsnoop.

Feature

  • function call graph trace function entry and exit, even sub-fuction, final generate call relationship.
  • record args and ret record all args and ret of each traced function.
  • dump any variable base on args or ret as skb->head, *skb->dev, you can get data of any variable which can be reached from args or ret, output as a human-readable format (like gdb print format)
  • filter by number or string trace function only filter expression is allowed

Installation

Prebuilt binaries

Download binary from release page.

Source

install from source code

go install github.com/xixiliguo/efunc@latest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL