iovisor / iovisor/bcc

asm __inline usage on newer kernels (5.10.x)

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

Description

Trying to use newer kernel with headers (5.10)

OS: centos7
Kernel repo: elrepo

Error: left paren expected after `asm`, unable to parse `asm __inline`

Tried to compile `bcc` from source (using llvm-toolset-7.0 from `scl`), same thing

Quick steps to reproduce: install `kernel-ml` from elrepo, install `kernel-ml-devel` then install `bcc-tools` or use a source build. Then run `/usr/share/bcc/tools/offcputime` to get compiler error about `asm __inline`

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.