[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87a5297jij.fsf@yellow.woof>
Date: Thu, 02 Oct 2025 11:14:28 +0200
From: Nam Cao <namcao@...utronix.de>
To: Gabriele Monaco <gmonaco@...hat.com>, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>, linux-trace-kernel@...r.kernel.org
Cc: Gabriele Monaco <gmonaco@...hat.com>, Tomas Glozar <tglozar@...hat.com>,
Juri Lelli <jlelli@...hat.com>, Clark Williams <williams@...hat.com>, John
Kacur <jkacur@...hat.com>
Subject: Re: [PATCH v2 03/20] rv: Unify DA event handling functions across
monitor types
Gabriele Monaco <gmonaco@...hat.com> writes:
> +/*
> + * da_get_task - return the task associated to the monitor
> + */
> +static inline struct task_struct *da_get_task(struct da_monitor *da_mon)
> +{
> + return container_of(da_mon, struct task_struct, rv[task_mon_slot].da_mon);
> +}
This function is not used? Maybe later in the series, let me keep looking..
> static inline bool da_handle_start_event(enum events event)
> {
> - struct da_monitor *da_mon;
> -
> if (!da_monitor_enabled())
> return 0;
Can't this part be shared between different monitor types?
Same for the other handle functions.
Nam
Powered by blists - more mailing lists