Re: [PATCH v2 01/21] libtracefs: Added new API tracefs_sql()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH v2 01/21] libtracefs: Added new API tracefs_sql()
- From: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>
- Date: Tue, 3 Aug 2021 09:27:42 +0200
- Cc: linux-trace-devel@xxxxxxxxxxxxxxx, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Tom Zanussi <zanussi@xxxxxxxxxx>, Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>, Masami Hiramatsu <mhiramat@xxxxxxxxxx>, Namhyung Kim <namhyung@xxxxxxxxxx>, linux-rt-users <linux-rt-users@xxxxxxxxxxxxxxx>, Clark Williams <williams@xxxxxxxxxx>, Daniel Black <daniel@xxxxxxxxxxxxx>
- In-reply-to: <20210803042347.679499-2-rostedt@goodmis.org>
- References: <20210803042347.679499-1-rostedt@goodmis.org> <20210803042347.679499-2-rostedt@goodmis.org>
On Tue, Aug 3, 2021 at 6:23 AM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>
>
> This adds the API tracefs_sql() that takes a tep_handle handler, a name,
> and a SQL string and parses it to produce a tracefs_synth synthetic event
> handler.
>
> Currently it only supports simple SQL of the type:
>
> SELECT start.common_pid AS pid, end.common_timestamp.usecs AS usecs
> FROM sched_waking AS start JOIN sched_switch AS end
> ON start.pid = end.next_pid
>
> Special thanks to:
>
> Lukas Bulwahn for first introducing the idea at RT Summit on the Summit
> Spring of 2019.
Thanks, Steven, for putting this idea to life.
I hope that the tracing users appreciate this new declarative
interface using SQL and it makes tracing events easier comprehensible
to a larger community of users.
Lukas
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]