Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/elastic/devfiler
/ functions
Functions
222 in github.com/elastic/devfiler
⨍
Functions
222
◇
Types & classes
80
↓ 45 callers
Method
get
Borrowed access to the data (no copy, cheap).
src/storage/table.rs:379
↓ 27 callers
Method
iter
Iterate over all key-value pairs in the database. Iteration is performed in ascending, **lexicographic** order after converting the key into a byte a
src/storage/table.rs:200
↓ 15 callers
Method
insert
Add a record to the insertion batch.
src/storage/table.rs:290
↓ 10 callers
Method
get_or_create
Get the cached value or initiate computing it in the background. The value passed as `key` is hashed and used to determine whether the cached value n
src/ui/cached.rs:76
↓ 9 callers
Method
get
Retrieve symbols for the given file ID.
src/storage/symdb/mod.rs:57
↓ 9 callers
Method
time_range
Iterate over events in the given time range. Iteration is ascending by timestamp.
src/storage/tables/traceevents.rs:110
↓ 8 callers
Method
join
(self)
src/symbolizer/mod.rs:351
↓ 7 callers
Method
into_raw
(self)
src/storage/table.rs:536
↓ 6 callers
Method
read
Deserialize the value into an owned object.
src/storage/table.rs:384
↓ 6 callers
Method
remove
Removes the record with the given key from the table.
src/storage/table.rs:121
↓ 5 callers
Function
get_str_opt
( table: &'tab Vec<String>, index: usize, field: &str, )
src/collector/otlp/service.rs:102
↓ 5 callers
Method
update
(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame)
src/ui/app.rs:50
↓ 4 callers
Function
get_attr
get_attr looks up indices in table and returns the value where the first key at one of these indices is field.
src/collector/otlp/service.rs:116
↓ 4 callers
Function
get_str
(table: &'tab Vec<String>, index: usize, field: &str)
src/collector/otlp/service.rs:86
↓ 4 callers
Function
open_or_create
Open or create a table in the given target directory.
src/storage/table.rs:439
↓ 4 callers
Method
spawn
(path: PathBuf)
src/symbolizer/mod.rs:326
↓ 3 callers
Function
frame_kind_color
Suggest a color for the given frame kind.
src/ui/util.rs:84
↓ 3 callers
Method
id
(&self)
src/ui/tabs/log.rs:27
↓ 3 callers
Method
interp
(self)
src/storage/tables/stacktraces.rs:136
↓ 3 callers
Method
next
(&mut self)
src/storage/table.rs:266
↓ 3 callers
Method
path_for_id
(&self, file_id: FileId, temp: bool)
src/storage/symdb/mod.rs:50
↓ 3 callers
Method
sort_children
Sort all nodes in the graph. The sorting key is `(weight, file_id, addr_or_line)`.
src/ui/tabs/flamegraph.rs:930
↓ 2 callers
Method
batched_insert
Create a new insertion batch.
src/storage/table.rs:153
↓ 2 callers
Method
bits
Iterate over the individual bits in this bitvec.
src/ui/tabs/top_funcs.rs:302
↓ 2 callers
Function
build_sym_url
Build an URL for the global symbolization infra.
src/symbolizer/mod.rs:313
↓ 2 callers
Method
center_on_current_match
Center the view on the currently selected match
src/ui/tabs/flamegraph.rs:657
↓ 2 callers
Method
clear_cache
(&self)
src/storage/table.rs:51
↓ 2 callers
Function
clearable_line_edit
Draw a line edit with a button for clearing it.
src/ui/util.rs:26
↓ 2 callers
Method
commit
Atomically insert the batch.
src/storage/table.rs:299
↓ 2 callers
Function
draw_count_column
Draws an humanized count column.
src/ui/tabs/top_funcs.rs:182
↓ 2 callers
Method
draw_level
( // TODO: way too many args. use struct for static portion? &mut self, ctx: &egui::Co
src/ui/tabs/flamegraph.rs:486
↓ 2 callers
Function
draw_percent_column
Draws a percentage column field, with a "progress bar" in the background.
src/ui/tabs/top_funcs.rs:189
↓ 2 callers
Method
insert
Insert symbols for the given file ID. Existing symbols are replaced.
src/storage/symdb/mod.rs:91
↓ 2 callers
Function
insert_symbols
Insert symbols for the given file ID into the database.
src/symbolizer/mod.rs:189
↓ 2 callers
Method
matches_filter
(&self, filter: &str)
src/ui/tabs/top_funcs.rs:264
↓ 2 callers
Method
navigate_to_next_match
Navigate to the next matching frame
src/ui/tabs/flamegraph.rs:631
↓ 2 callers
Method
navigate_to_prev_match
Navigate to the previous matching frame
src/ui/tabs/flamegraph.rs:642
↓ 2 callers
Method
sample_events
Sample trace events and merge them by their trace hash. Other than the UP backend, this currently doesn't perform any down-sampling and aggregates al
src/storage/tables/traceevents.rs:173
↓ 2 callers
Method
serve
(&self)
src/collector/mod.rs:94
↓ 2 callers
Method
set_f64
Set bit at percentage position (`0.0`..`1.0`).
src/ui/tabs/top_funcs.rs:296
↓ 2 callers
Method
str_by_ref
(&self, idx: StringRef)
src/storage/symdb/mod.rs:194
↓ 2 callers
Function
symbolize_frame
Symbolize a frame (and it's inline children, if they exist).
src/storage/symdb/mod.rs:246
↓ 2 callers
Method
tables
Iterator over all tables.
src/storage/mod.rs:97
↓ 2 callers
Method
todo
(&self)
src/storage/rkyvtree.rs:137
↓ 2 callers
Method
weight_children
Node's weight including children.
src/ui/tabs/flamegraph.rs:841
↓ 1 callers
Method
any_caches
Check whether any `Cached` instance was updated since last call.
src/ui/cached.rs:141
↓ 1 callers
Method
any_changes
Detect whether any table changed since the last call. The first call will always return `true`.
src/storage/notify.rs:32
↓ 1 callers
Function
background_ui_waker
(ctx: egui::Context)
src/ui/mod.rs:63
↓ 1 callers
Function
build_flame_graph
Pull in events and construct a flame graph data structure for them.
src/ui/tabs/flamegraph.rs:747
↓ 1 callers
Function
build_heatmap
(kind: SampleKind, start: UtcTimestamp, end: UtcTimestamp)
src/ui/tabs/flamescope.rs:117
↓ 1 callers
Function
build_sandwich_view
Build a sandwich view for a given frame ID
src/ui/tabs/flamegraph.rs:940
↓ 1 callers
Function
clearable_line_edit_with_status
Draw a line edit with a button for clearing it and optional right-aligned text.
src/ui/util.rs:46
↓ 1 callers
Function
collect_frame_list
( loc_mapping: &Vec<V>, location_indices: &Vec<i32>, )
src/collector/otlp/service.rs:414
↓ 1 callers
Function
collect_paths_through_frame
Helper function to collect caller and callee paths through a specific frame
src/ui/tabs/flamegraph.rs:969
↓ 1 callers
Method
contains_key
Checks whether the given key exists in the DB.
src/storage/table.rs:190
↓ 1 callers
Method
count_estimate
Estimate the number of records in this table.
src/storage/table.rs:57
↓ 1 callers
Method
draw
(&mut self, ui: &mut Ui, cfg: &DevfilerConfig, root: &FlameGraphNode)
src/ui/tabs/flamegraph.rs:182
↓ 1 callers
Method
draw_add_data_window
(&mut self, ctx: &egui::Context)
src/ui/app.rs:138
↓ 1 callers
Method
draw_add_data_window_contents
(&mut self, ui: &mut Ui)
src/ui/app.rs:163
↓ 1 callers
Method
draw_executable_table
(&mut self, ui: &mut Ui)
src/ui/tabs/executables.rs:230
↓ 1 callers
Function
draw_frame_type_square
Draw a little square for the frame kind color.
src/ui/tabs/top_funcs.rs:205
↓ 1 callers
Function
draw_func_heatmap
Draw a heatmap visualizing when within the filter period the function was invoked.
src/ui/tabs/top_funcs.rs:221
↓ 1 callers
Method
draw_global_dedup_rate
(&mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp)
src/ui/tabs/trace_freq.rs:153
↓ 1 callers
Method
draw_global_frame_dedup_rate
( &mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp, )
src/ui/tabs/trace_freq.rs:112
↓ 1 callers
Method
draw_global_freq
(&mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp)
src/ui/tabs/trace_freq.rs:205
↓ 1 callers
Method
draw_global_freq_without_leaf
( &mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp, )
src/ui/tabs/trace_freq.rs:247
↓ 1 callers
Method
draw_global_no_leaf_dedup_rate
( &mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp, )
src/ui/tabs/trace_freq.rs:166
↓ 1 callers
Function
draw_heat_map
Draws a heat-map.
src/ui/util.rs:144
↓ 1 callers
Function
draw_heatmap
( ui: &mut Ui, heatmap: &HeatMapData, start: UtcTimestamp, end: UtcTimestamp, selection: &
src/ui/tabs/flamescope.rs:142
↓ 1 callers
Method
draw_main_window
(&mut self, ctx: &egui::Context)
src/ui/app.rs:90
↓ 1 callers
Method
draw_msg_info
(&self, ui: &mut Ui)
src/ui/tabs/grpclog.rs:94
↓ 1 callers
Method
draw_msg_list
(&mut self, ui: &mut Ui, collector: &Collector)
src/ui/tabs/grpclog.rs:59
↓ 1 callers
Method
draw_per_event_freq
(&mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp)
src/ui/tabs/trace_freq.rs:227
↓ 1 callers
Method
draw_sandwich_view
Draw the sandwich view with callers above and callees below
src/ui/tabs/flamegraph.rs:242
↓ 1 callers
Method
draw_sym_status_bar
(&self, ui: &mut Ui)
src/ui/tabs/executables.rs:160
↓ 1 callers
Method
draw_symbol_ingest_area
(&mut self, ui: &mut Ui)
src/ui/tabs/executables.rs:92
↓ 1 callers
Method
draw_tooltip
Populates the on-hover tooltip UI.
src/ui/tabs/flamegraph.rs:692
↓ 1 callers
Function
error_spec_by_id
Get the specification for a given error by its ID.
src/storage/errorspec.rs:36
↓ 1 callers
Method
event_count_buckets
Group the given time range into buckets and count the number of events in each bucket.
src/storage/tables/traceevents.rs:140
↓ 1 callers
Function
fetch_and_insert_symbols
Pull symbols for the given executable from Elastic's global symbolization infrastructure and insert them into the database.
src/symbolizer/mod.rs:146
↓ 1 callers
Function
fetch_dbg_file_id
Fetches the file ID containing the actual debug info for the given executable. The two can vary when split DWARF is being used.
src/symbolizer/mod.rs:266
↓ 1 callers
Function
fetch_symbols
Tries to fetch symbols for the given file ID.
src/symbolizer/mod.rs:242
↓ 1 callers
Method
flush_events
Remove all event data.
src/storage/mod.rs:75
↓ 1 callers
Method
from
(tup: (Range<K>, V))
src/storage/rkyvtree.rs:66
↓ 1 callers
Method
generate_id
Generate a unique ID.
src/storage/mod.rs:91
↓ 1 callers
Method
go_right
(&self, start: &K)
src/storage/rkyvtree.rs:182
↓ 1 callers
Function
gui_thread
(collector: crate::collector::Collector)
src/ui/mod.rs:26
↓ 1 callers
Method
handle_executable_drops
(&mut self, ctx: &egui::Context)
src/ui/tabs/executables.rs:79
↓ 1 callers
Function
hash
(location: impl Hash)
src/ui/tabs/top_funcs.rs:462
↓ 1 callers
Function
humanize_count
Format a count to a nice representation optimized for human readability.
src/ui/util.rs:113
↓ 1 callers
Function
ingest_locations
(dic: &ProfilesDictionary)
src/collector/otlp/service.rs:157
↓ 1 callers
Function
ingest_task_controller
Spawns and manages ingestion tasks.
src/symbolizer/mod.rs:88
↓ 1 callers
Function
insert_callee_node
Recursively insert a callee node and its descendants
src/ui/tabs/flamegraph.rs:1057
↓ 1 callers
Function
insert_callee_subtree
Insert all callees of the target frame
src/ui/tabs/flamegraph.rs:1048
↓ 1 callers
Function
insert_caller_path
Insert a caller path (inverted, from target up to root) Insert a caller path so the flamegraph grows downward from the selected frame
src/ui/tabs/flamegraph.rs:1018
↓ 1 callers
Method
insert_trace
Insert a trace into the flame graph.
src/ui/tabs/flamegraph.rs:851
↓ 1 callers
Function
install
()
src/log.rs:34
↓ 1 callers
Method
intersect
(&self, range: &ArchivedRange<K>)
src/storage/rkyvtree.rs:189
↓ 1 callers
Method
last_seq
Return the latest sequence number of the table. This is increased on every update transaction, after commit.
src/storage/table.rs:78
↓ 1 callers
Method
line_number_for_va
Looks up the line number for the given virtual address. `sym_va_range` is the range covered by this object. Needs to be passed in because it's stored
src/storage/symdb/mod.rs:219
next →
1–100 of 222, ranked by callers