diff options
| author | 童宗振 <[email protected]> | 2024-10-18 07:20:23 +0000 |
|---|---|---|
| committer | 童宗振 <[email protected]> | 2024-10-18 07:20:23 +0000 |
| commit | 66ed52263e44594a5f1b83ce4af93c78e46cc5ed (patch) | |
| tree | bf47bf72d8ce59e16f2a349a2779a0ada444d4f7 /include/job_ctx.h | |
| parent | a211402e0cdfbee7ee5c45752c0d9cf4dd47caa8 (diff) | |
verify bpf expr in telemetry
Diffstat (limited to 'include/job_ctx.h')
| -rw-r--r-- | include/job_ctx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/job_ctx.h b/include/job_ctx.h index 95febb7..9d6410a 100644 --- a/include/job_ctx.h +++ b/include/job_ctx.h @@ -19,4 +19,5 @@ void telemetry_job_add_cb(const char * table_name, const char * key, const char void telemetry_job_del_cb(const char * table_name, void ** ad, long argl, void * argp); void telemetry_job_uuid_get(job_bitmap_t job_id, unsigned char * uu); -void job_desc_dump(const struct dp_trace_job_desc * desc);
\ No newline at end of file +void job_desc_dump(const struct dp_trace_job_desc * desc); +int is_valid_bpf_expression(const char * expr);
\ No newline at end of file |
