aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/event-parse-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/traceevent/event-parse-api.c')
-rw-r--r--tools/lib/traceevent/event-parse-api.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/tools/lib/traceevent/event-parse-api.c b/tools/lib/traceevent/event-parse-api.c
index 988587840c80..4faf52a65791 100644
--- a/tools/lib/traceevent/event-parse-api.c
+++ b/tools/lib/traceevent/event-parse-api.c
@@ -303,33 +303,6 @@ void tep_set_local_bigendian(struct tep_handle *tep, enum tep_endian endian)
303} 303}
304 304
305/** 305/**
306 * tep_is_latency_format - get if the latency output format is configured
307 * @tep: a handle to the tep_handle
308 *
309 * This returns true if the latency output format is configured
310 * If @tep is NULL, false is returned.
311 */
312bool tep_is_latency_format(struct tep_handle *tep)
313{
314 if (tep)
315 return (tep->latency_format);
316 return false;
317}
318
319/**
320 * tep_set_latency_format - set the latency output format
321 * @tep: a handle to the tep_handle
322 * @lat: non zero for latency output format
323 *
324 * This sets the latency output format
325 */
326void tep_set_latency_format(struct tep_handle *tep, int lat)
327{
328 if (tep)
329 tep->latency_format = lat;
330}
331
332/**
333 * tep_is_old_format - get if an old kernel is used 306 * tep_is_old_format - get if an old kernel is used
334 * @tep: a handle to the tep_handle 307 * @tep: a handle to the tep_handle
335 * 308 *
@@ -345,19 +318,6 @@ bool tep_is_old_format(struct tep_handle *tep)
345} 318}
346 319
347/** 320/**
348 * tep_set_print_raw - set a flag to force print in raw format
349 * @tep: a handle to the tep_handle
350 * @print_raw: the new value of the print_raw flag
351 *
352 * This sets a flag to force print in raw format
353 */
354void tep_set_print_raw(struct tep_handle *tep, int print_raw)
355{
356 if (tep)
357 tep->print_raw = print_raw;
358}
359
360/**
361 * tep_set_test_filters - set a flag to test a filter string 321 * tep_set_test_filters - set a flag to test a filter string
362 * @tep: a handle to the tep_handle 322 * @tep: a handle to the tep_handle
363 * @test_filters: the new value of the test_filters flag 323 * @test_filters: the new value of the test_filters flag