Re: [PATCH 17/17] libtracefs: Add man page for tracefs_sql()

From
Ahmed S. Darwish <hidden>
Date
2021-08-01 13:39:31
Also in
linux-rt-users
Reply to
Steven Rostedt, 2021-07-30
On Fri, Jul 30, 2021, Steven Rostedt wrote:
quoted hunk ↗ jump to hunk
+
+The SQL format is as follows:
+
+*SELECT* <fields> FROM <start-event> JOIN <end-event> ON <matching-fields> WHERE <filter>
+
+Note, although the examples show the SQL commands in uppercase, they are not required to
+be so. That is, you can use "SELECT" or "select" or "sElEct".
+
Maybe it would be helpful to mention that, unlike normal SELECT queries,
the JOIN and ON parts above are _not_ optional?

That is, generic "one event source" queries:

  SELECT common_pid,msr,val FROM write_msr WHERE msr=72

are not supported. (I wish they were though ;-))

BTW, thanks a lot for this work. It will finally make synthetic events
usable!

Kind regards,

--
Ahmed S. Darwish
Linutronix GmbH
Thread (26 messages) 26 messages, 3 authors, last reply 2021-08-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help