linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2] tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event
@ 2020-11-24 13:57 Philippe Duplessis-Guindon
  2020-11-24 15:34 ` Mark Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Philippe Duplessis-Guindon @ 2020-11-24 13:57 UTC (permalink / raw)
  To: linux-trace-devel
  Cc: Steven Rostedt, mathieu.desnoyers, linux-kernel, broonie,
	Philippe Duplessis-Guindon

I have an error saying that `regcache_sync` has 2 fields named `type`
while using libtraceevent.

Erase the `int field` type, which is not assigned. This field is
introduced by mistake and this commit removes it.

Fixes commit 593600890110c ("regmap: Add the regcache_sync trace event")

Signed-off-by: Philippe Duplessis-Guindon <pduplessis@efficios.com>
---
 drivers/base/regmap/trace.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/base/regmap/trace.h b/drivers/base/regmap/trace.h
index d4066fa079ab..9abee14df9ee 100644
--- a/drivers/base/regmap/trace.h
+++ b/drivers/base/regmap/trace.h
@@ -126,7 +126,6 @@ TRACE_EVENT(regcache_sync,
 		__string(       name,           regmap_name(map)	)
 		__string(	status,		status			)
 		__string(	type,		type			)
-		__field(	int,		type			)
 	),
 
 	TP_fast_assign(
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH v2] tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event
  2020-11-24 13:57 [RFC PATCH v2] tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event Philippe Duplessis-Guindon
@ 2020-11-24 15:34 ` Mark Brown
  2020-11-24 15:37 ` Mark Brown
  2020-11-24 15:48 ` Steven Rostedt
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2020-11-24 15:34 UTC (permalink / raw)
  To: Philippe Duplessis-Guindon
  Cc: linux-trace-devel, Steven Rostedt, mathieu.desnoyers, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

On Tue, Nov 24, 2020 at 08:57:30AM -0500, Philippe Duplessis-Guindon wrote:

> Fixes commit 593600890110c ("regmap: Add the regcache_sync trace event")
> 
> Signed-off-by: Philippe Duplessis-Guindon <pduplessis@efficios.com>

Please follow the format for Fixes: tags documented in
submitting-patches.rst and existing usage in the kernel.

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH v2] tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event
  2020-11-24 13:57 [RFC PATCH v2] tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event Philippe Duplessis-Guindon
  2020-11-24 15:34 ` Mark Brown
@ 2020-11-24 15:37 ` Mark Brown
  2020-11-24 15:48 ` Steven Rostedt
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2020-11-24 15:37 UTC (permalink / raw)
  To: Philippe Duplessis-Guindon, linux-trace-devel
  Cc: mathieu.desnoyers, Steven Rostedt, linux-kernel

On Tue, 24 Nov 2020 08:57:30 -0500, Philippe Duplessis-Guindon wrote:
> I have an error saying that `regcache_sync` has 2 fields named `type`
> while using libtraceevent.
> 
> Erase the `int field` type, which is not assigned. This field is
> introduced by mistake and this commit removes it.
> 
> Fixes commit 593600890110c ("regmap: Add the regcache_sync trace event")

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next

Thanks!

[1/1] regmap: Remove duplicate `type` field from regmap `regcache_sync` trace event
      commit: e6e9354b58307c120afbdc2719a6093638c37446

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH v2] tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event
  2020-11-24 13:57 [RFC PATCH v2] tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event Philippe Duplessis-Guindon
  2020-11-24 15:34 ` Mark Brown
  2020-11-24 15:37 ` Mark Brown
@ 2020-11-24 15:48 ` Steven Rostedt
  2 siblings, 0 replies; 4+ messages in thread
From: Steven Rostedt @ 2020-11-24 15:48 UTC (permalink / raw)
  To: Philippe Duplessis-Guindon
  Cc: linux-trace-devel, mathieu.desnoyers, linux-kernel, broonie

On Tue, 24 Nov 2020 08:57:30 -0500
Philippe Duplessis-Guindon <pduplessis@efficios.com> wrote:

> I have an error saying that `regcache_sync` has 2 fields named `type`
> while using libtraceevent.
> 
> Erase the `int field` type, which is not assigned. This field is
> introduced by mistake and this commit removes it.
> 
> Fixes commit 593600890110c ("regmap: Add the regcache_sync trace event")
> 
> Signed-off-by: Philippe Duplessis-Guindon <pduplessis@efficios.com>

Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve

> ---
>  drivers/base/regmap/trace.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/base/regmap/trace.h b/drivers/base/regmap/trace.h
> index d4066fa079ab..9abee14df9ee 100644
> --- a/drivers/base/regmap/trace.h
> +++ b/drivers/base/regmap/trace.h
> @@ -126,7 +126,6 @@ TRACE_EVENT(regcache_sync,
>  		__string(       name,           regmap_name(map)	)
>  		__string(	status,		status			)
>  		__string(	type,		type			)
> -		__field(	int,		type			)
>  	),
>  
>  	TP_fast_assign(


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-24 15:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 13:57 [RFC PATCH v2] tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event Philippe Duplessis-Guindon
2020-11-24 15:34 ` Mark Brown
2020-11-24 15:37 ` Mark Brown
2020-11-24 15:48 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).