linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tracing: hwlat: update old comment
@ 2017-02-13 17:25 Luiz Capitulino
  2017-02-14 20:05 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Capitulino @ 2017-02-13 17:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: rostedt


The ftrace hwlat does support a cpumask.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 kernel/trace/trace_hwlat.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/kernel/trace/trace_hwlat.c b/kernel/trace/trace_hwlat.c
index af344a1b..1199fe1 100644
--- a/kernel/trace/trace_hwlat.c
+++ b/kernel/trace/trace_hwlat.c
@@ -322,10 +322,7 @@ static void move_to_next_cpu(bool initmask)
  * need to ensure nothing else might be running (and thus preempting).
  * Obviously this should never be used in production environments.
  *
- * Currently this runs on which ever CPU it was scheduled on, but most
- * real-world hardware latency situations occur across several CPUs,
- * but we might later generalize this if we find there are any actualy
- * systems with alternate SMI delivery or other hardware latencies.
+ * Executes one loop interaction on each CPU in tracing_cpumask sysfs file.
  */
 static int kthread_fn(void *data)
 {
-- 
2.5.5

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

* Re: [PATCH] tracing: hwlat: update old comment
  2017-02-13 17:25 [PATCH] tracing: hwlat: update old comment Luiz Capitulino
@ 2017-02-14 20:05 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2017-02-14 20:05 UTC (permalink / raw)
  To: Luiz Capitulino; +Cc: linux-kernel

On Mon, 13 Feb 2017 12:25:17 -0500
Luiz Capitulino <lcapitulino@redhat.com> wrote:

> The ftrace hwlat does support a cpumask.
> 
> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>

Thanks! Applied.

-- Steve

> ---
>  kernel/trace/trace_hwlat.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/kernel/trace/trace_hwlat.c b/kernel/trace/trace_hwlat.c
> index af344a1b..1199fe1 100644
> --- a/kernel/trace/trace_hwlat.c
> +++ b/kernel/trace/trace_hwlat.c
> @@ -322,10 +322,7 @@ static void move_to_next_cpu(bool initmask)
>   * need to ensure nothing else might be running (and thus preempting).
>   * Obviously this should never be used in production environments.
>   *
> - * Currently this runs on which ever CPU it was scheduled on, but most
> - * real-world hardware latency situations occur across several CPUs,
> - * but we might later generalize this if we find there are any actualy
> - * systems with alternate SMI delivery or other hardware latencies.
> + * Executes one loop interaction on each CPU in tracing_cpumask sysfs file.
>   */
>  static int kthread_fn(void *data)
>  {

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

end of thread, other threads:[~2017-02-14 20:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-13 17:25 [PATCH] tracing: hwlat: update old comment Luiz Capitulino
2017-02-14 20:05 ` 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).