Add http and translate for signal (#73)

* use BPF_NO_GLOBAL_DATA

to avoid error on old kernel versions or libbpf versions,
use BPF_NO_GLOBAL_DATA

* add translate of replace

* add socket

* add socket http impl

* improve userspace program

* add desc for http

* update translate to eng

* add ci for 32
This commit is contained in:
云微
2023-09-18 11:22:49 +08:00
committed by GitHub
parent ffbd9a7ff4
commit 426e993507
27 changed files with 2172 additions and 630 deletions

View File

@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
/* Copyright (c) 2021 Sartura */
#define BPF_NO_GLOBAL_DATA
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>