Linux-Trace-Devel Archive on lore.kernel.org
 help / color / Atom feed
* Re: [PATCH v2] tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
@ 2020-04-14  7:54 Markus Elfring
  2020-04-15  1:40 ` Xiao Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Elfring @ 2020-04-14  7:54 UTC (permalink / raw)
  To: Xiao Yang, linux-kselftest, linux-trace-devel
  Cc: linux-kernel, Ingo Molnar, Steven Rostedt, Xiao Yang

> Traced event can trigger 'snapshot' operation(i.e. calls snapshot_trigger()

I suggest to improve the change description.

* Adjustment:
  … operation (i. e. …

* Will the tag “Fixes” become relevant?

Regards,
Markus

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

* Re: [PATCH v2] tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
  2020-04-14  7:54 [PATCH v2] tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation Markus Elfring
@ 2020-04-15  1:40 ` Xiao Yang
  2020-04-15  1:46   ` Steven Rostedt
  0 siblings, 1 reply; 5+ messages in thread
From: Xiao Yang @ 2020-04-15  1:40 UTC (permalink / raw)
  To: Markus Elfring
  Cc: linux-kselftest, linux-trace-devel, linux-kernel, Ingo Molnar,
	Steven Rostedt, Xiao Yang

On 2020/4/14 15:54, Markus Elfring wrote:
>> Traced event can trigger 'snapshot' operation(i.e. calls snapshot_trigger()
>
> I suggest to improve the change description.
>
> * Adjustment:
>    … operation (i. e. …
Hi Markus,

Which part of description do you want to change or could you provide an 
example for reference?

>
> * Will the tag “Fixes” become relevant?

Do you mean to add the following "Fixes" tag?
Fixes: 93e31ffbf417 "tracing: Add 'snapshot' event trigger command"

Thanks,
Xiao Yang
>
> Regards,
> Markus
>
>
> .
>




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

* Re: [PATCH v2] tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
  2020-04-15  1:40 ` Xiao Yang
@ 2020-04-15  1:46   ` Steven Rostedt
  2020-04-15  1:59     ` Xiao Yang
  2020-04-15  7:12     ` [v2] " Markus Elfring
  0 siblings, 2 replies; 5+ messages in thread
From: Steven Rostedt @ 2020-04-15  1:46 UTC (permalink / raw)
  To: Xiao Yang
  Cc: Markus Elfring, linux-kselftest, linux-trace-devel, linux-kernel,
	Ingo Molnar, Xiao Yang

On Wed, 15 Apr 2020 09:40:20 +0800
Xiao Yang <yangx.jy@cn.fujitsu.com> wrote:

> On 2020/4/14 15:54, Markus Elfring wrote:
> >> Traced event can trigger 'snapshot' operation(i.e. calls snapshot_trigger()  
> >
> > I suggest to improve the change description.
> >
> > * Adjustment:
> >    … operation (i. e. …  
> Hi Markus,
> 
> Which part of description do you want to change or could you provide an 
> example for reference?

That part is fine for me.

> 
> >
> > * Will the tag “Fixes” become relevant?  
> 
> Do you mean to add the following "Fixes" tag?
> Fixes: 93e31ffbf417 "tracing: Add 'snapshot' event trigger command"
> 

Yeah, that fixes tag is appropriate. But I usually add those myself, you
don't need to resend.

-- Steve

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

* Re: [PATCH v2] tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
  2020-04-15  1:46   ` Steven Rostedt
@ 2020-04-15  1:59     ` Xiao Yang
  2020-04-15  7:12     ` [v2] " Markus Elfring
  1 sibling, 0 replies; 5+ messages in thread
From: Xiao Yang @ 2020-04-15  1:59 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Markus Elfring, linux-kselftest, linux-trace-devel, linux-kernel,
	Ingo Molnar, Xiao Yang

On 2020/4/15 9:46, Steven Rostedt wrote:
> On Wed, 15 Apr 2020 09:40:20 +0800
> Xiao Yang<yangx.jy@cn.fujitsu.com>  wrote:
>
>> On 2020/4/14 15:54, Markus Elfring wrote:
>>>> Traced event can trigger 'snapshot' operation(i.e. calls snapshot_trigger()
>>>
>>> I suggest to improve the change description.
>>>
>>> * Adjustment:
>>>     … operation (i. e. …
>> Hi Markus,
>>
>> Which part of description do you want to change or could you provide an
>> example for reference?
>
> That part is fine for me.
>
>>
>>>
>>> * Will the tag “Fixes” become relevant?
>>
>> Do you mean to add the following "Fixes" tag?
>> Fixes: 93e31ffbf417 "tracing: Add 'snapshot' event trigger command"
>>
>
> Yeah, that fixes tag is appropriate. But I usually add those myself, you
> don't need to resend.
Hi Steven,

Thanks for your quick reply.
Got it and I will keep the v2 patch.

Thanks,
Xiao Yang
>
> -- Steve
>
>
> .
>




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

* Re: [v2] tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
  2020-04-15  1:46   ` Steven Rostedt
  2020-04-15  1:59     ` Xiao Yang
@ 2020-04-15  7:12     ` Markus Elfring
  1 sibling, 0 replies; 5+ messages in thread
From: Markus Elfring @ 2020-04-15  7:12 UTC (permalink / raw)
  To: Steven Rostedt, Xiao Yang, linux-kselftest, linux-trace-devel
  Cc: linux-kernel, Ingo Molnar, Xiao Yang

>>> * Adjustment:
>>>    … operation (i. e. …
>> Hi Markus,
>>
>> Which part of description do you want to change or could you provide an
>> example for reference?

I proposed to insert two space characters in a wording.


> That part is fine for me.

Such a view can be fine if you would like to adjust the provided contents
another bit for the final commit message.


>> Do you mean to add the following "Fixes" tag?
>> Fixes: 93e31ffbf417 "tracing: Add 'snapshot' event trigger command"
>
> Yeah, that fixes tag is appropriate.

I suggest to reconsider the influence of parentheses at such places.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=8632e9b5645bbc2331d21d892b0d6961c1a08429#n183

Regards,
Markus

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

end of thread, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14  7:54 [PATCH v2] tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation Markus Elfring
2020-04-15  1:40 ` Xiao Yang
2020-04-15  1:46   ` Steven Rostedt
2020-04-15  1:59     ` Xiao Yang
2020-04-15  7:12     ` [v2] " Markus Elfring

Linux-Trace-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-trace-devel/0 linux-trace-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-trace-devel linux-trace-devel/ https://lore.kernel.org/linux-trace-devel \
		linux-trace-devel@vger.kernel.org
	public-inbox-index linux-trace-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-trace-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git