package magic-trace

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Magic_trace_core.ElfSource

include module type of Elf_intf
Sourcemodule Location : sig ... end
Sourcemodule Addr_table : sig ... end
Sourcemodule Stop_info : sig ... end
Sourcetype t
Sourceval create : Core.Filename.t -> t option

Returns name, address and filter string for using a symbol as a snapshot point.

The address is suitable for placing a breakpoint, and the filter string causes tracing to stop when executing code from that symbol. The filter string syntax is in ftrace format and is accepted both by the perf command line tool and the PERF_EVENT_IOC_SET_FILTER ioctl for the perf_event_open syscall.

Sourceval addr_table : t -> Addr_table.t

Find function symbols matching a regex and return a map from symbol name to symbol suitable for asking the user to disambiguate.

Sourceval all_symbols : t -> (string * Owee_elf.Symbol_table.Symbol.t) list
Sourceval find_symbol : t -> string -> Owee_elf.Symbol_table.Symbol.t option
Sourcemodule Symbol_resolver : sig ... end
OCaml

Innovation. Community. Security.