Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 authored Mar 24, 2023
1 parent d1d3125 commit 5ce41cf
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,20 @@ a new repository in your account with the same files and structure as this templ

### Use docker

Run the following code and you will enter a docker environment with all the basic development dependencies and tools.

```sh
docker run --rm -it --privileged ghcr.io/eunomia-bpf/libbpf-rs-template:latest
Run the following code to run the eBPF code from the cloud to your local machine in one line:

```console
$ sudo docker run --rm -it --privileged ghcr.io/eunomia-bpf/libbpf-rs-template:latest
[sudo] password for xxx:
Tracing run queue latency higher than 10000 us
TIME COMM TID LAT(us)
12:09:19 systemd-udevd 30786 18300
12:09:19 systemd-udevd 30796 21941
12:09:19 systemd-udevd 30793 10323
12:09:19 systemd-udevd 30795 14827
12:09:19 systemd-udevd 30790 17973
12:09:19 systemd-udevd 30793 12328
12:09:19 systemd-udevd 30796 28721
```

## **Features**
Expand Down

0 comments on commit 5ce41cf

Please sign in to comment.