[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZbvLHnigSf1NOZ5M@localhost.localdomain>
Date: Thu, 1 Feb 2024 17:47:26 +0100
From: Frederic Weisbecker <frederic@...nel.org>
To: Anna-Maria Behnsen <anna-maria@...utronix.de>
Cc: linux-kernel@...r.kernel.org, Peter Zijlstra <peterz@...radead.org>,
John Stultz <jstultz@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Eric Dumazet <edumazet@...gle.com>,
"Rafael J . Wysocki" <rafael.j.wysocki@...el.com>,
Arjan van de Ven <arjan@...radead.org>,
"Paul E . McKenney" <paulmck@...nel.org>,
Rik van Riel <riel@...riel.com>,
Steven Rostedt <rostedt@...dmis.org>,
Sebastian Siewior <bigeasy@...utronix.de>,
Giovanni Gherdovich <ggherdovich@...e.cz>,
Lukasz Luba <lukasz.luba@....com>,
"Gautham R . Shenoy" <gautham.shenoy@....com>,
Srinivas Pandruvada <srinivas.pandruvada@...el.com>,
K Prateek Nayak <kprateek.nayak@....com>
Subject: Re: [PATCH v10 19/20] timer_migration: Add tracepoints
Le Mon, Jan 15, 2024 at 03:37:42PM +0100, Anna-Maria Behnsen a écrit :
> +TRACE_EVENT(tmigr_connect_child_parent,
> +
> + TP_PROTO(struct tmigr_group *child),
> +
> + TP_ARGS(child),
> +
> + TP_STRUCT__entry(
> + __field( void *, child )
> + __field( void *, parent )
> + __field( unsigned int, lvl )
> + __field( unsigned int, numa_node )
> + __field( unsigned int, num_children )
> + __field( u32, childmask )
> + ),
> +
> + TP_fast_assign(
> + __entry->child = child;
> + __entry->parent = child->parent;
> + __entry->lvl = child->parent->level;
> + __entry->numa_node = child->parent->numa_node;
> + __entry->numa_node = child->parent->num_children;
__entry->num_children ?
> + __entry->childmask = child->childmask;
> + ),
> +
> + TP_printk("group=%p childmask=%0x parent=%p lvl=%d numa=%d num_children=%d",
> + __entry->child, __entry->childmask, __entry->parent,
> + __entry->lvl, __entry->numa_node, __entry->num_children)
> +);
> +
> +TRACE_EVENT(tmigr_connect_cpu_parent,
> +
> + TP_PROTO(struct tmigr_cpu *tmc),
> +
> + TP_ARGS(tmc),
> +
> + TP_STRUCT__entry(
> + __field( void *, parent )
> + __field( unsigned int, cpu )
> + __field( unsigned int, lvl )
> + __field( unsigned int, numa_node )
> + __field( unsigned int, num_children )
> + __field( u32, childmask )
> + ),
> +
> + TP_fast_assign(
> + __entry->parent = tmc->tmgroup;
> + __entry->cpu = tmc->cpuevt.cpu;
> + __entry->lvl = tmc->tmgroup->level;
> + __entry->numa_node = tmc->tmgroup->numa_node;
> + __entry->numa_node = tmc->tmgroup->num_children;
Ditto.
Thanks.
Powered by blists - more mailing lists