mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Ivan Babrou <ivan@cloudflare.com>
Cc: Daniel Dao <dqminh@cloudflare.com>,
	kernel-team <kernel-team@cloudflare.com>,
	Ingo Molnar <mingo@redhat.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Masami Hiramatsu <mhiramat@kernel.org>
Subject: Re: 5.15 ftrace bug when enabling function_graph
Date: Fri, 5 Aug 2022 14:53:33 -0400	[thread overview]
Message-ID: <20220805145333.1360dbbb@gandalf.local.home> (raw)
In-Reply-To: <CABWYdi1aKXWDjT+-aAQvn7eLcySbmeEucVS+8RAbUPE+bprK6A@mail.gmail.com>

On Fri, 5 Aug 2022 11:37:56 -0700
Ivan Babrou <ivan@cloudflare.com> wrote:

> root@foo:~# echo 'bpf_dispatcher_*_func' >
> /sys/kernel/tracing/set_ftrace_notrace
> 
> root@foo:~# trace-cmd record -p function_graph -l handle_mm_fault -P 3367417
> plugin 'function_graph'
> Hit Ctrl^C to stop recording


> [1459709.204253] ------------[ ftrace bug ]------------
> [1459709.204257] ftrace failed to modify
> [1459709.204262] [<ffffffffac3ea960>] bpf_dispatcher_xdp_func+0x0/0x10
> [1459709.204275]  actual:   ffffffe9:ffffff9b:76:ffffffb0:14
> [1459709.204302] Setting ftrace call site to call ftrace function
> [1459709.204305] ftrace record flags: 10000001
> [1459709.204309]  (1)
>                   expected tramp: ffffffffabc4bcb0
> [1459709.204325] ------------[ cut here ]------------

Did you reboot since the error happened? Because the command you showed
should not have touched bpf_dispatcher_xdp_func.

-- Steve

  reply	other threads:[~2022-08-05 18:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-23 15:47 Daniel Dao
2022-02-23 16:54 ` Steven Rostedt
2022-08-05 18:37   ` Ivan Babrou
2022-08-05 18:53     ` Steven Rostedt [this message]
2022-08-05 20:14       ` Ivan Babrou
2022-08-05 22:25         ` Steven Rostedt
2022-08-12 19:03           ` Ivan Babrou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220805145333.1360dbbb@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=dqminh@cloudflare.com \
    --cc=ivan@cloudflare.com \
    --cc=kernel-team@cloudflare.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=mingo@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®