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


Groups > linux.kernel > #1193657

Re: [PATCH] scripts/tags.sh: Include trace_*_rcuidle() in tags

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] scripts/tags.sh: Include trace_*_rcuidle() in tags
Date 2015-07-28 02:20 +0200
Message-ID <pR0MF-135-1@gated-at.bofh.it> (permalink)
References <pCa1A-2Is-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/16/2015 06:00 PM, Stephen Boyd wrote:
> Every tracepoint creates two functions, the usual one 'trace_*()'
> and the rcuidle one 'trace_*_rcuidle()'. Add regex for the
> rcuidle variant so that we can jump to the tracepoints that use
> rcuidle.
>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---

Can this be applied?

>  scripts/tags.sh | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/scripts/tags.sh b/scripts/tags.sh
> index cdb491d84503..896bb303f735 100755
> --- a/scripts/tags.sh
> +++ b/scripts/tags.sh
> @@ -170,7 +170,9 @@ exuberant()
>  	--regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \
>  	--regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \
>  	--regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/'		\
> +	--regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1_rcuidle/'	\
>  	--regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/'	\
> +	--regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1_rcuidle/' \
>  	--regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/'			\
>  	--regex-c++='/PAGEFLAG\(([^,)]*).*/SetPage\1/'			\
>  	--regex-c++='/PAGEFLAG\(([^,)]*).*/ClearPage\1/'		\
> @@ -233,7 +235,9 @@ emacs()
>  	--regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/'   \
>  	--regex='/^COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/compat_sys_\1/' \
>  	--regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/'		\
> +	--regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1_rcuidle/'	\
>  	--regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \
> +	--regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1_rcuidle/' \
>  	--regex='/PAGEFLAG(\([^,)]*\).*/Page\1/'			\
>  	--regex='/PAGEFLAG(\([^,)]*\).*/SetPage\1/'		\
>  	--regex='/PAGEFLAG(\([^,)]*\).*/ClearPage\1/'		\


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

--
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 | Find similar | Unroll thread


Thread

Re: [PATCH] scripts/tags.sh: Include trace_*_rcuidle() in tags Stephen Boyd <sboyd@codeaurora.org> - 2015-07-28 02:20 +0200

csiph-web