Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1260669
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] tracing: Make tracing work when debugfs is not compiled or initialized. |
| Date | 2015-11-02 15:20 +0100 |
| Message-ID | <qqo7N-6lo-11@gated-at.bofh.it> (permalink) |
| References | <qkUWK-4JV-13@gated-at.bofh.it> <qkUWK-4JV-17@gated-at.bofh.it> <ql7TY-6Dn-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 19 Oct 2015 09:54:16 +0800
Jiaxing Wang <hello.wjx@gmail.com> wrote:
> Sorry for the last patch, please use this to add stub for
> debugfs_create_automount().
Can you fold this into patch number two and resubmit that patch.
Thanks,
-- Steve
>
> >From b3b877d8d9fd9795ea1055042039a272e47f4dc5 Mon Sep 17 00:00:00 2001
> From: Jiaxing Wang <hello.wjx@gmail.com>
> Date: Mon, 19 Oct 2015 09:46:12 +0800
> Subject: [PATCH] debugfs: Add stub function for debugfs_create_automount().
>
> Add stub for debugfs_create_automount() for when debugfs is not configured
> in.
>
> Signed-off-by: Jiaxing Wang <hello.wjx@gmail.com>
> ---
> include/linux/debugfs.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
> index 9beb636..b42ef88 100644
> --- a/include/linux/debugfs.h
> +++ b/include/linux/debugfs.h
> @@ -160,6 +160,14 @@ static inline struct dentry *debugfs_create_symlink(const char *name,
> return ERR_PTR(-ENODEV);
> }
>
> +static inline struct dentry *debugfs_create_automount(const char *name,
> + struct dentry *parent,
> + struct vfsmount *(*f)(void *),
> + void *data)
> +{
> + return ERR_PTR(-ENODEV);
> +}
> +
> static inline void debugfs_remove(struct dentry *dentry)
> { }
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 2/3] tracing: Make tracing work when debugfs is not compiled or initialized. Steven Rostedt <rostedt@goodmis.org> - 2015-11-02 15:20 +0100
[PATCH RESEND] tracing: Make tracing work when debugfs is not compiled or initialized. Jiaxing Wang <hello.wjx@gmail.com> - 2015-11-04 02:20 +0100
Re: [PATCH RESEND] tracing: Make tracing work when debugfs is not compiled or initialized. Steven Rostedt <rostedt@goodmis.org> - 2015-11-04 16:10 +0100
Re: [PATCH RESEND] tracing: Make tracing work when debugfs is not compiled or initialized. Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-11-04 20:00 +0100
Re: [PATCH RESEND] tracing: Make tracing work when debugfs is not compiled or initialized. Steven Rostedt <rostedt@goodmis.org> - 2015-11-04 21:40 +0100
Re: [PATCH RESEND] tracing: Make tracing work when debugfs is not compiled or initialized. Jiaxing Wang <hello.wjx@gmail.com> - 2015-11-05 06:30 +0100
Re: [PATCH RESEND] tracing: Make tracing work when debugfs is not compiled or initialized. Steven Rostedt <rostedt@goodmis.org> - 2015-11-05 17:00 +0100
[PATCH] tracing: Make tracing work when debugfs is not configured in Jiaxing Wang <hello.wjx@gmail.com> - 2015-11-06 09:10 +0100
Re: [PATCH RESEND] tracing: Make tracing work when debugfs is not compiled or initialized. Jiaxing Wang <hello.wjx@gmail.com> - 2015-11-06 09:10 +0100
csiph-web