Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651424

Re: [for-next][PATCH 09/33] selftests: ftrace: Add test to test reading of set_ftrace_file

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [for-next][PATCH 09/33] selftests: ftrace: Add test to test reading of set_ftrace_file
Date 2017-05-26 17:10 +0200
Message-ID <tLp2i-7uw-19@gated-at.bofh.it> (permalink)
References <tyOrv-2qL-3@gated-at.bofh.it> <tyOBb-2u9-5@gated-at.bofh.it> <tJMcG-8t5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 22 May 2017 12:23:08 +0900
Masami Hiramatsu <mhiramat@kernel.org> wrote:

> Hi Steve,
> 
> On Fri, 21 Apr 2017 17:30:29 -0400
> Steven Rostedt <rostedt@goodmis.org> wrote:
> 
> > From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
> > 
> > The set_ftrace_file lists both functions that are filtered, as well as
> > function probes (triggers) that are attached to a function, like traceon or
> > stacktrace, etc. The reading of this file is not as trivial as most pseudo
> > files are, and there's been various bugs that have appeared in the past
> > when there's a mix of probes and functions listed. There's also a difference
> > when reading the file using dd with a block size of 1.  
> 
> Would you know which commit fixed this dd/cat differences on
> set_ftrace_filter? When I've run this test on 4.9-stable kernel,
> it failed because the result of "dd -bs=1" and "cat" on
> set_ftrace_filter were different.
>

Probably one of the patches in this series before this one.

-- Steve

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [for-next][PATCH 09/33] selftests: ftrace: Add test to test  reading of set_ftrace_file Steven Rostedt <rostedt@goodmis.org> - 2017-05-26 17:10 +0200

csiph-web