kprobe

package
v0.0.0-...-76a4e66 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KprobeAttach

func KprobeAttach(progFD int, eventName string, funcName string) error

p[:[GRP/]EVENT] [MOD:]SYM[+offs]|MEMADDR [FETCHARGS] : Set a probe r[MAXACTIVE][:[GRP/]EVENT] [MOD:]SYM[+0] [FETCHARGS] : Set a return probe -:[GRP/]EVENT

func KprobeDetach

func KprobeDetach(eventName string) error

func KretprobeAttach

func KretprobeAttach(progFD int, eventName string, funcName string) error
p[:[GRP/]EVENT] [MOD:]SYM[+offs]|MEMADDR [FETCHARGS]  : Set a probe
r[MAXACTIVE][:[GRP/]EVENT] [MOD:]SYM[+0] [FETCHARGS]  : Set a return probe
-:[GRP/]EVENT

MAXACTIVE : Maximum number of instances of the specified function that

can be probed simultaneously, or 0 for the default value
as defined in Documentation/kprobes.txt section 1.3.1.

func KretprobeDetach

func KretprobeDetach(eventName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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