I'm trying to build https://github.com/eunomia-bpf/bpftime/
When I use #include <chrono>, It gives the following error
fatal error: include/chrono: No such file or directory 14 | #include <chrono>
pegasus@pegasus:~$ clang --version
clang version 19.0.0git...
@f33dm3bits
I don't want to manually download the binary package. Because it then becomes a tiresome loop of dependency.
Rather I want to add repo. Currently my OS is CentOS Linux not CentOS Stream
https://centos.pkgs.org/8-stream/centos-appstream-x86_64/
http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/
I am new to centOS. I want to add these two repositories so that whenver I use yum install I get the latest packages from them.
For example I want to install clang...
I'm new to networking. I'm also learning the usage of eBPF. Currently I'm working on a project where I've to capture the inner packet of a openconnect traffic. This is my code:
https://github.com/inspektors-io/xdp-tutorial/tree/nobin/xdp_dump_with_grpc
xdp_dump.c
// Copyright (c) 2019 Dropbox...
I've completed the assignment as mentioned in the solutions.
Here's the repo I'm trying to test on my local machine:
https://github.com/xdp-project/xdp-tutorial/blob/master/packet01-parsing/README.org
Here's my C code:
/* SPDX-License-Identifier: GPL-2.0 */
#include <stddef.h>
#include...
I'm new to Go. How can I find cmd? what is the <PATH_TO> here?
How to set GOPATH?
pegasus@pegasus:~$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/pegasus/.cache/go-build"
GOENV="/home/pegasus/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"...
I have installed the go plugins. Still when I try to run events.proto code it shows error:
sudo go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
sudo go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
pegasus@pegasus:~/Documents/eBPF/go-xdp-examples/gRPC_test$ tree
...
Whenever I try to install any package in go. using go install it says permission denied. Then I have to do sudo go install.
Is it normal? Or do I have to change some permissions? How can I fix it?
pegasus@pegasus:~$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest...