Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1isper committed Aug 30, 2023
1 parent 663562f commit 4e6f09b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions duetector/tracers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ class BccTracer(Tracer):
"""
A Tracer use bcc.BPF host
attatch_type: str attatch type for bcc.BPF, e.g. kprobe, kretprobe, etc.
attatch_args: Dict[str, str] args for attatch function
attatch_type: str attatch type for bcc.BPF, e.g. kprobe, kretprobe
attatch_args: Dict[str, str] args for attatch function
poll_fn: str poll function name in bcc.BPF
poll_args: Dict[str, str] args for poll function
prog: str bpf program
data_t: NamedTuple data type for this tracer
poll_args: Dict[str, str] args for poll function
prog: str bpf program
data_t: NamedTuple data type for this tracer
set_callback should attatch callback to bpf, translate raw data to data_t then call the callback
# FIXME: Maybe it's hard for using? Maybe we should use a more simple way to implement this?
Expand Down

0 comments on commit 4e6f09b

Please sign in to comment.