lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 12 Mar 2019 08:27:06 -0700
From:   Alexei Starovoitov <>
To:     Qais Yousef <>
Cc:     Steven Rostedt <>,
        Ingo Molnar <>,
        Alexei Starovoitov <>,
        Daniel Borkmann <>,
        Martin KaFai Lau <>,
        Song Liu <>, Yonghong Song <>,
        "" <>,
        "" <>,
        "" <>
Subject: Re: [RFC][PATCH] Export supported trace features in debugfs

On Tue, Mar 12, 2019 at 11:07:14AM +0000, Qais Yousef wrote:
> eBPF tools like bcc-tools have hard time figuring out when features like
> raw_tracepoint are supported in the kernel on which we are running. At
> the moment a fragile mechanism of matching bpf_find_raw_tracepoint()
> function in /proc/kallsyms is used to find out whether raw tracepoints
> can be used or not. But when this function was renamed recently to
> bpf_get_raw_tracepoint() the tool started to fail to use raw
> tracepoints.
> To help in providing a more reliable way to detect features like
> RAW_TRACEPOINT, add a new file in trace debugfs to export the supported
> features.
> $cat /sys/kernel/debug/tracing/supported_features
> Signed-off-by: Qais Yousef <>

this type of attempts have been made in the past and we always rejected them.
Please use 'bpftool' instead that detects numerous bpf related features including raw_tp.
# bpftool feature probe|grep raw_tracepoint
eBPF program_type raw_tracepoint is available

Powered by blists - more mailing lists