Skip to content

Commit 940eda5

Browse files
committed
tracing04: add some notes on how to build the example
In order to build the xdp_sample_pkts_user program, the libpcap-dev and the libc-dev libraries should be installed. Note this in the assignment. Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
1 parent 83403a3 commit 940eda5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tracing04-xdp-tcpdump/README.org

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ PING fc00:dead:cafe:1::1(fc00:dead:cafe:1::1) 56 data bytes
100100

101101
** Assignment 2: The PCAP dump file
102102

103-
Load the eBPF kernel packets dump program and store the packets to the dump file:
103+
Build the =xdp_sample_pkts_user= dump program; to do so you might have to
104+
install the =libpcap-dev= and the 32 bit libc dev packages. Load the eBPF
105+
kernel packets dump program and store the packets to the dump file:
104106

105107
#+begin_example sh
106108
$ sudo ./xdp_sample_pkts_user -d veth-basic02 -F

0 commit comments

Comments
 (0)