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:   Fri, 30 Oct 2020 20:28:18 -0400
From:   Steven Rostedt <>
To:     Atish Patra <>
Cc:     Guo Ren <>, Zong Li <>,
        Paul McKenney <>,,,,,,
        Thomas Gleixner <>,
        Paul Walmsley <>,
        Palmer Dabbelt <>,
        Masami Hiramatsu <>,
        Greentime Hu <>,
        Colin Ian King <>,,
        Linux Kernel Mailing List <>,
        linux-riscv <>
Subject: Re: [PATCH] stop_machine: Mark functions as notrace

On Fri, 30 Oct 2020 14:47:56 -0700
Atish Patra <> wrote:

> > Look at arm64, they __kprobes flag and I guess it would also prevent
> > ftrace call site.
> >  
> Are you sure about that ? __kprobes puts the code in .kprobes.text section
> which is under whitelist sections in & recordmcount.c.

Correct, ftrace can trace functions marked with __kprobes. That said,
the instruction you are looking at here, is in a file that is
blacklisted from recordmcount.


All ftrace flags are removed from the compiling of insn.c, and every
function in that file will not be traced.

-- Steve

Powered by blists - more mailing lists