You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: Updates documentation for the `pxtrace.TraceProgram` object
which enables deploying bpftrace programs to specific hosts via
selectors.
Relevant Issues: pixie-io/docs.px.dev#277
Type of change: /kind documentation
Test Plan: Existing targets.
Signed-off-by: Benjamin Kilimnik <bkilimnik@pixielabs.ai>
Copy file name to clipboardExpand all lines: src/carnot/planner/probes/tracing_module.h
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,7 @@ class TraceModule : public QLObject {
190
190
name (str): The name of the tracepoint. Should be unique with the probe_fn.
191
191
table_name (str): The table name to write the results. The table is created
192
192
if it does not exist. The table schema must match if the table does exist.
193
-
probe_fn (px.ProbeFn): The tracepoint function.
193
+
probe_fn (Union[px.ProbeFn, str, pxtrace.TraceProgram, List[pxtrace.TraceProgram]]): The tracepoint function, BPFTrace program or pxtrace.TraceProgram to deploy.
194
194
target (Union[px.UPID,px.SharedObject,pxtrace.PodProcess,pxtrace.LabelSelector]): The process or shared object
195
195
to trace as specified by unique Vizier PID.
196
196
ttl (px.Duration): The length of time that a tracepoint will stay alive, after
@@ -199,16 +199,15 @@ class TraceModule : public QLObject {
0 commit comments