https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
libtracefs is a library for accessing kernel tracefs
Version: 1.8.0
General Commands | |
sqlhist | Tool that uses SQL language to create / show creation of tracefs histograms and synthetic events. |
Library Functions | |
libtracefs | Linux kernel trace file system library |
tracefs_binary_close | alias for tracefs_binary_init |
tracefs_binary_init | Open, close and write binary data in the trace buffer. |
tracefs_binary_write | alias for tracefs_binary_init |
tracefs_buffer_stat_bytes | alias for tracefs_instance_get_stat |
tracefs_buffer_stat_commit_overrun | alias for tracefs_instance_get_stat |
tracefs_buffer_stat_dropped_events | alias for tracefs_instance_get_stat |
tracefs_buffer_stat_entries | alias for tracefs_instance_get_stat |
tracefs_buffer_stat_event_timestamp | alias for tracefs_instance_get_stat |
tracefs_buffer_stat_overrun | alias for tracefs_instance_get_stat |
tracefs_buffer_stat_read_events | alias for tracefs_instance_get_stat |
tracefs_buffer_stat_timestamp | alias for tracefs_instance_get_stat |
tracefs_cpu_alloc_fd | alias for tracefs_cpu_open |
tracefs_cpu_buffered_read | alias for tracefs_cpu_read_size |
tracefs_cpu_buffered_read_buf | alias for tracefs_cpu_read_buf |
tracefs_cpu_close | alias for tracefs_cpu_open |
tracefs_cpu_flush | alias for tracefs_cpu_read_size |
tracefs_cpu_flush_buf | alias for tracefs_cpu_read_buf |
tracefs_cpu_flush_write | alias for tracefs_cpu_read_size |
tracefs_cpu_free_fd | alias for tracefs_cpu_open |
tracefs_cpu_is_mapped | alias for tracefs_cpu_open_mapped |
tracefs_cpu_map | alias for tracefs_cpu_open_mapped |
tracefs_cpu_open | Opening trace_pipe_raw data for reading |
tracefs_cpu_open_mapped | Memory mapping of the ring buffer |
tracefs_cpu_pipe | alias for tracefs_cpu_read_size |
tracefs_cpu_read | alias for tracefs_cpu_read_size |
tracefs_cpu_read_buf | Reading trace_pipe_raw data returning a kbuffer |
tracefs_cpu_read_size | Reading trace_pipe_raw data |
tracefs_cpu_snapshot_open | alias for tracefs_cpu_open |
tracefs_cpu_stop | alias for tracefs_cpu_read_size |
tracefs_cpu_unmap | alias for tracefs_cpu_open_mapped |
tracefs_cpu_write | alias for tracefs_cpu_read_size |
tracefs_debug_dir | alias for tracefs_get_tracing_file |
tracefs_dir_exists | alias for tracefs_file_exists |
tracefs_dynevent_create | Create, destroy, free and get dynamic events. |
tracefs_dynevent_destroy | alias for tracefs_dynevent_create |
tracefs_dynevent_destroy_all | alias for tracefs_dynevent_create |
tracefs_dynevent_free | alias for tracefs_dynevent_create |
tracefs_dynevent_get | alias for tracefs_dynevent_create |
tracefs_dynevent_get_all | alias for tracefs_dynevent_create |
tracefs_dynevent_get_event | alias for tracefs_dynevent_create |
tracefs_dynevent_info | alias for tracefs_dynevent_create |
tracefs_dynevent_list_free | alias for tracefs_dynevent_create |
tracefs_eprobe_alloc | Allocate new event probe (eprobe) |
tracefs_error_all | alias for tracefs_error_last |
tracefs_error_clear | alias for tracefs_error_last |
tracefs_error_last | functions to read and clear the tracefs error log. |
tracefs_event_disable | alias for tracefs_event_systems |
tracefs_event_enable | alias for tracefs_event_systems |
tracefs_event_file_append | alias for tracefs_event_get_file |
tracefs_event_file_clear | alias for tracefs_event_get_file |
tracefs_event_file_exists | alias for tracefs_event_get_file |
tracefs_event_file_read | alias for tracefs_event_get_file |
tracefs_event_file_write | alias for tracefs_event_get_file |
tracefs_event_filter_apply | alias for tracefs_filter_string_append |
tracefs_event_filter_clear | alias for tracefs_filter_string_append |
tracefs_event_get_file | Work with trace event files. |
tracefs_event_is_enabled | alias for tracefs_event_systems |
tracefs_event_systems | Work with trace systems and events. |
tracefs_file_exists | Work with files directories in tracing instances. |
tracefs_fill_local_events | alias for tracefs_local_events |
tracefs_filter_functions | alias for tracefs_function_filter |
tracefs_filter_pid_events | alias for tracefs_filter_pid_function |
tracefs_filter_pid_events_clear | alias for tracefs_filter_pid_function |
tracefs_filter_pid_function | Add and remove PID filtering for functions and events |
tracefs_filter_pid_function_clear | alias for tracefs_filter_pid_function |
tracefs_filter_string_append | Add, verify and apply event filters |
tracefs_filter_string_verify | alias for tracefs_filter_string_append |
tracefs_find_cid_pid | helper functions to handle tracing guests |
tracefs_follow_event | alias for tracefs_iterate_raw_events |
tracefs_follow_event_clear | alias for tracefs_iterate_raw_events |
tracefs_follow_missed_events | alias for tracefs_iterate_raw_events |
tracefs_follow_missed_events_clear | alias for tracefs_iterate_raw_events |
tracefs_function_filter | Functions to modify the the function trace filters |
tracefs_function_notrace | alias for tracefs_function_filter |
tracefs_get_clock | alias for tracefs_tracers |
tracefs_get_tracing_file | Find and set locations of trace directory and files. |
tracefs_hist_add_key | alias for tracefs_hist_alloc |
tracefs_hist_add_key_cnt | alias for tracefs_hist_alloc |
tracefs_hist_add_name | alias for tracefs_hist_add_sort_key |
tracefs_hist_add_sort_key | Update and describe an event histogram |
tracefs_hist_add_value | alias for tracefs_hist_alloc |
tracefs_hist_alloc | Create and destroy event histograms |
tracefs_hist_alloc_2d | alias for tracefs_hist_alloc |
tracefs_hist_alloc_nd | alias for tracefs_hist_alloc |
tracefs_hist_alloc_nd_cnt | alias for tracefs_hist_alloc |
tracefs_hist_append_filter | alias for tracefs_hist_add_sort_key |
tracefs_hist_command | alias for tracefs_hist_add_sort_key |
tracefs_hist_continue | alias for tracefs_hist_start |
tracefs_hist_destroy | alias for tracefs_hist_start |
tracefs_hist_echo_cmd | alias for tracefs_hist_add_sort_key |
tracefs_hist_free | alias for tracefs_hist_alloc |
tracefs_hist_get_event | alias for tracefs_hist_add_sort_key |
tracefs_hist_get_name | alias for tracefs_hist_add_sort_key |
tracefs_hist_get_system | alias for tracefs_hist_add_sort_key |
tracefs_hist_pause | alias for tracefs_hist_start |
tracefs_hist_reset | alias for tracefs_hist_start |
tracefs_hist_set_sort_key | alias for tracefs_hist_add_sort_key |
tracefs_hist_sort_key_direction | alias for tracefs_hist_add_sort_key |
tracefs_hist_start | Pause, continue, or clear an existing histogram |
tracefs_instance_alloc | alias for tracefs_instance_create |
tracefs_instance_clear | alias for tracefs_instance_create |
tracefs_instance_create | Manage trace instances. |
tracefs_instance_destroy | alias for tracefs_instance_create |
tracefs_instance_exists | alias for tracefs_instance_get_name |
tracefs_instance_file_append | alias for tracefs_instance_file_open |
tracefs_instance_file_clear | alias for tracefs_instance_file_open |
tracefs_instance_file_open | Work with files in tracing instances. |
tracefs_instance_file_read | alias for tracefs_instance_file_open |
tracefs_instance_file_read_number | alias for tracefs_instance_file_open |
tracefs_instance_file_write | alias for tracefs_instance_file_open |
tracefs_instance_file_write_number | alias for tracefs_instance_file_open |
tracefs_instance_find_cid_pid | alias for tracefs_find_cid_pid |
tracefs_instance_free | alias for tracefs_instance_create |
tracefs_instance_get_affinity | alias for tracefs_instance_set_affinity |
tracefs_instance_get_affinity_raw | alias for tracefs_instance_set_affinity |
tracefs_instance_get_affinity_set | alias for tracefs_instance_set_affinity |
tracefs_instance_get_buffer_percent | alias for tracefs_instance_get_name |
tracefs_instance_get_buffer_size | alias for tracefs_instance_get_name |
tracefs_instance_get_dir | alias for tracefs_file_exists |
tracefs_instance_get_file | alias for tracefs_file_exists |
tracefs_instance_get_name | Helper functions for working with tracing instances. |
tracefs_instance_get_stat | Handling tracing buffer stats |
tracefs_instance_get_subbuf_size | Helper functions for working with ring buffer sub buffers. |
tracefs_instance_get_trace_dir | alias for tracefs_instance_get_name |
tracefs_instance_is_new | alias for tracefs_instance_create |
tracefs_instance_put_stat | alias for tracefs_instance_get_stat |
tracefs_instance_reset | alias for tracefs_instance_create |
tracefs_instance_set_affinity | Sets or retrieves the affinity for an instance or top level for what CPUs enable tracing. |
tracefs_instance_set_affinity_raw | alias for tracefs_instance_set_affinity |
tracefs_instance_set_affinity_set | alias for tracefs_instance_set_affinity |
tracefs_instance_set_buffer_percent | alias for tracefs_instance_get_name |
tracefs_instance_set_buffer_size | alias for tracefs_instance_get_name |
tracefs_instance_set_subbuf_size | alias for tracefs_instance_get_subbuf_size |
tracefs_instance_tracers | Enable or disable a tracer in an instance or the top level |
tracefs_instances | alias for tracefs_instance_create |
tracefs_instances_walk | alias for tracefs_instance_get_name |
tracefs_iterate_raw_events | Iterate over events in the ring buffer |
tracefs_iterate_snapshot_events | alias for tracefs_iterate_raw_events |
tracefs_iterate_stop | alias for tracefs_iterate_raw_events |
tracefs_kprobe_alloc | Allocate, get, create, and remove kprobes |
tracefs_kprobe_destroy | alias for tracefs_kprobe_alloc |
tracefs_kprobe_raw | alias for tracefs_kprobe_alloc |
tracefs_kretprobe_alloc | alias for tracefs_kprobe_alloc |
tracefs_kretprobe_raw | alias for tracefs_kprobe_alloc |
tracefs_list_add | alias for tracefs_tracers |
tracefs_list_free | alias for tracefs_tracers |
tracefs_list_size | alias for tracefs_tracers |
tracefs_load_cmdlines | alias for tracefs_local_events |
tracefs_load_headers | alias for tracefs_local_events |
tracefs_local_events | Initialize a tep handler with trace events from the local system. |
tracefs_local_events_system | alias for tracefs_local_events |
tracefs_mapped_is_supported | alias for tracefs_cpu_open_mapped |
tracefs_option_disable | alias for tracefs_option_enable |
tracefs_option_enable | Various trace option functions. |
tracefs_option_id | alias for tracefs_options_get_supported |
tracefs_option_is_enabled | alias for tracefs_options_get_supported |
tracefs_option_is_supported | alias for tracefs_options_get_supported |
tracefs_option_mask_is_set | alias for tracefs_options_get_supported |
tracefs_option_name | alias for tracefs_option_enable |
tracefs_options | ftrace options, that can be controlled using tracefs library. |
tracefs_options_get_enabled | alias for tracefs_options_get_supported |
tracefs_options_get_supported | Get and check ftrace options. |
tracefs_print_close | alias for tracefs_print_init |
tracefs_print_init | Open, close and write formated strings in the trace buffer. |
tracefs_printf | alias for tracefs_print_init |
tracefs_put_tracing_file | alias for tracefs_get_tracing_file |
tracefs_set_loglevel | Set log level of the library |
tracefs_set_tracing_dir | alias for tracefs_get_tracing_file |
tracefs_snapshot_clear | alias for tracefs_snapshot_snap |
tracefs_snapshot_free | alias for tracefs_snapshot_snap |
tracefs_snapshot_snap | API to create, clear and read snapshots |
tracefs_sql | Create a synthetic event via an SQL statement |
tracefs_synth_add_compare_field | alias for tracefs_synth_alloc |
tracefs_synth_add_end_field | alias for tracefs_synth_alloc |
tracefs_synth_add_match_field | alias for tracefs_synth_alloc |
tracefs_synth_add_start_field | alias for tracefs_synth_alloc |
tracefs_synth_alloc | Creation of a synthetic event descriptor |
tracefs_synth_append_end_filter | alias for tracefs_synth_alloc |
tracefs_synth_append_start_filter | alias for tracefs_synth_alloc |
tracefs_synth_complete | alias for tracefs_synth_create |
tracefs_synth_create | Creation of synthetic events |
tracefs_synth_destroy | alias for tracefs_synth_create |
tracefs_synth_echo_cmd | Retrieve data of synthetic events. |
tracefs_synth_free | alias for tracefs_synth_alloc |
tracefs_synth_get_event | alias for tracefs_synth_echo_cmd |
tracefs_synth_get_name | alias for tracefs_synth_echo_cmd |
tracefs_synth_get_start_hist | alias for tracefs_synth_echo_cmd |
tracefs_synth_raw_fmt | alias for tracefs_synth_echo_cmd |
tracefs_synth_save | alias for tracefs_synth_create |
tracefs_synth_set_instance | alias for tracefs_synth_create |
tracefs_synth_show_end_hist | alias for tracefs_synth_echo_cmd |
tracefs_synth_show_event | alias for tracefs_synth_echo_cmd |
tracefs_synth_show_start_hist | alias for tracefs_synth_echo_cmd |
tracefs_synth_snapshot | alias for tracefs_synth_create |
tracefs_synth_trace | alias for tracefs_synth_create |
tracefs_system_events | alias for tracefs_event_systems |
tracefs_time_conversion | alias for tracefs_find_cid_pid |
tracefs_trace_is_on | Functions to enable or disable tracing. |
tracefs_trace_off | alias for tracefs_trace_is_on |
tracefs_trace_off_fd | alias for tracefs_trace_is_on |
tracefs_trace_on | alias for tracefs_trace_is_on |
tracefs_trace_on_fd | alias for tracefs_trace_is_on |
tracefs_trace_on_get_fd | alias for tracefs_trace_is_on |
tracefs_trace_pipe_print | alias for tracefs_trace_pipe_stream |
tracefs_trace_pipe_stop | alias for tracefs_trace_pipe_stream |
tracefs_trace_pipe_stream | redirect the stream of trace data to an output or stdout. |
tracefs_tracer_available | alias for tracefs_tracers |
tracefs_tracer_clear | alias for tracefs_instance_tracers |
tracefs_tracer_set | alias for tracefs_instance_tracers |
tracefs_tracers | Helper functions for working with trace file system. |
tracefs_tracing_dir | alias for tracefs_get_tracing_file |
tracefs_tracing_dir_is_mounted | alias for tracefs_get_tracing_file |
tracefs_uprobe_alloc | Allocate new user (return) probe |
tracefs_uretprobe_alloc | alias for tracefs_uprobe_alloc |
tracefs_vprintf | alias for tracefs_print_init |