iovisor / iovisor/bcc

bpf_probe_read and ref counts and atomic access

Open
#4,495 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

Hello, I wanted to understand if calls such as bpf_probe_read, bpf_probe_read_kernel etc update ref counts of the kernel data structure it attempts to read and are the reads atomic? Because if not, the read operation can cause a kernel panic, in case the kernel attempts to delete the data structure being read during the operation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.