No, this can still be used. The warning just tells you this should
mostly be used in debug mode.

On Wed, Mar 28, 2018 at 11:59 AM, Saran Kumar Krishnan via iovisor-dev
<[email protected]> wrote:
> Hi -
>
>
> When I use bpf_trace_printk - I am getting this NOTICE. Does it mean, that
> eBPF shouldn't be used in the production kernel.
>
>
>
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467518]
> **********************************************************
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467518] **   NOTICE NOTICE NOTICE
> NOTICE NOTICE NOTICE NOTICE   **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467518] **
> **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467519] ** trace_printk() being
> used. Allocating extra memory.  **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467519] **
> **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467520] ** This means that this
> is a DEBUG kernel and it is     **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467520] ** unsafe for production
> use.                           **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467520] **
> **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467521] ** If you see this
> message and you are not debugging    **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467522] ** the kernel, report
> this immediately to your vendor!  **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467522] **
> **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467522] **   NOTICE NOTICE NOTICE
> NOTICE NOTICE NOTICE NOTICE   **
> Mar 20 12:26:44 lenovo-e565 kernel: [  267.467523]
> **********************************************************
>
>
>
> Regards
> Saran
>
>
>
> _______________________________________________
> iovisor-dev mailing list
> [email protected]
> https://lists.iovisor.org/mailman/listinfo/iovisor-dev
>
_______________________________________________
iovisor-dev mailing list
[email protected]
https://lists.iovisor.org/mailman/listinfo/iovisor-dev

Reply via email to