MCPcopy Create free account

hub / github.com/elastic/devfiler / functions

Functions222 in github.com/elastic/devfiler

↓ 45 callersMethodget
Borrowed access to the data (no copy, cheap).
src/storage/table.rs:379
↓ 27 callersMethoditer
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 callersMethodinsert
Add a record to the insertion batch.
src/storage/table.rs:290
↓ 10 callersMethodget_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 callersMethodget
Retrieve symbols for the given file ID.
src/storage/symdb/mod.rs:57
↓ 9 callersMethodtime_range
Iterate over events in the given time range. Iteration is ascending by timestamp.
src/storage/tables/traceevents.rs:110
↓ 8 callersMethodjoin
(self)
src/symbolizer/mod.rs:351
↓ 7 callersMethodinto_raw
(self)
src/storage/table.rs:536
↓ 6 callersMethodread
Deserialize the value into an owned object.
src/storage/table.rs:384
↓ 6 callersMethodremove
Removes the record with the given key from the table.
src/storage/table.rs:121
↓ 5 callersFunctionget_str_opt
( table: &'tab Vec<String>, index: usize, field: &str, )
src/collector/otlp/service.rs:102
↓ 5 callersMethodupdate
(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame)
src/ui/app.rs:50
↓ 4 callersFunctionget_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 callersFunctionget_str
(table: &'tab Vec<String>, index: usize, field: &str)
src/collector/otlp/service.rs:86
↓ 4 callersFunctionopen_or_create
Open or create a table in the given target directory.
src/storage/table.rs:439
↓ 4 callersMethodspawn
(path: PathBuf)
src/symbolizer/mod.rs:326
↓ 3 callersFunctionframe_kind_color
Suggest a color for the given frame kind.
src/ui/util.rs:84
↓ 3 callersMethodid
(&self)
src/ui/tabs/log.rs:27
↓ 3 callersMethodinterp
(self)
src/storage/tables/stacktraces.rs:136
↓ 3 callersMethodnext
(&mut self)
src/storage/table.rs:266
↓ 3 callersMethodpath_for_id
(&self, file_id: FileId, temp: bool)
src/storage/symdb/mod.rs:50
↓ 3 callersMethodsort_children
Sort all nodes in the graph. The sorting key is `(weight, file_id, addr_or_line)`.
src/ui/tabs/flamegraph.rs:930
↓ 2 callersMethodbatched_insert
Create a new insertion batch.
src/storage/table.rs:153
↓ 2 callersMethodbits
Iterate over the individual bits in this bitvec.
src/ui/tabs/top_funcs.rs:302
↓ 2 callersFunctionbuild_sym_url
Build an URL for the global symbolization infra.
src/symbolizer/mod.rs:313
↓ 2 callersMethodcenter_on_current_match
Center the view on the currently selected match
src/ui/tabs/flamegraph.rs:657
↓ 2 callersMethodclear_cache
(&self)
src/storage/table.rs:51
↓ 2 callersFunctionclearable_line_edit
Draw a line edit with a button for clearing it.
src/ui/util.rs:26
↓ 2 callersMethodcommit
Atomically insert the batch.
src/storage/table.rs:299
↓ 2 callersFunctiondraw_count_column
Draws an humanized count column.
src/ui/tabs/top_funcs.rs:182
↓ 2 callersMethoddraw_level
( // TODO: way too many args. use struct for static portion? &mut self, ctx: &egui::Co
src/ui/tabs/flamegraph.rs:486
↓ 2 callersFunctiondraw_percent_column
Draws a percentage column field, with a "progress bar" in the background.
src/ui/tabs/top_funcs.rs:189
↓ 2 callersMethodinsert
Insert symbols for the given file ID. Existing symbols are replaced.
src/storage/symdb/mod.rs:91
↓ 2 callersFunctioninsert_symbols
Insert symbols for the given file ID into the database.
src/symbolizer/mod.rs:189
↓ 2 callersMethodmatches_filter
(&self, filter: &str)
src/ui/tabs/top_funcs.rs:264
↓ 2 callersMethodnavigate_to_next_match
Navigate to the next matching frame
src/ui/tabs/flamegraph.rs:631
↓ 2 callersMethodnavigate_to_prev_match
Navigate to the previous matching frame
src/ui/tabs/flamegraph.rs:642
↓ 2 callersMethodsample_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 callersMethodserve
(&self)
src/collector/mod.rs:94
↓ 2 callersMethodset_f64
Set bit at percentage position (`0.0`..`1.0`).
src/ui/tabs/top_funcs.rs:296
↓ 2 callersMethodstr_by_ref
(&self, idx: StringRef)
src/storage/symdb/mod.rs:194
↓ 2 callersFunctionsymbolize_frame
Symbolize a frame (and it's inline children, if they exist).
src/storage/symdb/mod.rs:246
↓ 2 callersMethodtables
Iterator over all tables.
src/storage/mod.rs:97
↓ 2 callersMethodtodo
(&self)
src/storage/rkyvtree.rs:137
↓ 2 callersMethodweight_children
Node's weight including children.
src/ui/tabs/flamegraph.rs:841
↓ 1 callersMethodany_caches
Check whether any `Cached` instance was updated since last call.
src/ui/cached.rs:141
↓ 1 callersMethodany_changes
Detect whether any table changed since the last call. The first call will always return `true`.
src/storage/notify.rs:32
↓ 1 callersFunctionbackground_ui_waker
(ctx: egui::Context)
src/ui/mod.rs:63
↓ 1 callersFunctionbuild_flame_graph
Pull in events and construct a flame graph data structure for them.
src/ui/tabs/flamegraph.rs:747
↓ 1 callersFunctionbuild_heatmap
(kind: SampleKind, start: UtcTimestamp, end: UtcTimestamp)
src/ui/tabs/flamescope.rs:117
↓ 1 callersFunctionbuild_sandwich_view
Build a sandwich view for a given frame ID
src/ui/tabs/flamegraph.rs:940
↓ 1 callersFunctionclearable_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 callersFunctioncollect_frame_list
( loc_mapping: &Vec<V>, location_indices: &Vec<i32>, )
src/collector/otlp/service.rs:414
↓ 1 callersFunctioncollect_paths_through_frame
Helper function to collect caller and callee paths through a specific frame
src/ui/tabs/flamegraph.rs:969
↓ 1 callersMethodcontains_key
Checks whether the given key exists in the DB.
src/storage/table.rs:190
↓ 1 callersMethodcount_estimate
Estimate the number of records in this table.
src/storage/table.rs:57
↓ 1 callersMethoddraw
(&mut self, ui: &mut Ui, cfg: &DevfilerConfig, root: &FlameGraphNode)
src/ui/tabs/flamegraph.rs:182
↓ 1 callersMethoddraw_add_data_window
(&mut self, ctx: &egui::Context)
src/ui/app.rs:138
↓ 1 callersMethoddraw_add_data_window_contents
(&mut self, ui: &mut Ui)
src/ui/app.rs:163
↓ 1 callersMethoddraw_executable_table
(&mut self, ui: &mut Ui)
src/ui/tabs/executables.rs:230
↓ 1 callersFunctiondraw_frame_type_square
Draw a little square for the frame kind color.
src/ui/tabs/top_funcs.rs:205
↓ 1 callersFunctiondraw_func_heatmap
Draw a heatmap visualizing when within the filter period the function was invoked.
src/ui/tabs/top_funcs.rs:221
↓ 1 callersMethoddraw_global_dedup_rate
(&mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp)
src/ui/tabs/trace_freq.rs:153
↓ 1 callersMethoddraw_global_frame_dedup_rate
( &mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp, )
src/ui/tabs/trace_freq.rs:112
↓ 1 callersMethoddraw_global_freq
(&mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp)
src/ui/tabs/trace_freq.rs:205
↓ 1 callersMethoddraw_global_freq_without_leaf
( &mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp, )
src/ui/tabs/trace_freq.rs:247
↓ 1 callersMethoddraw_global_no_leaf_dedup_rate
( &mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp, )
src/ui/tabs/trace_freq.rs:166
↓ 1 callersFunctiondraw_heat_map
Draws a heat-map.
src/ui/util.rs:144
↓ 1 callersFunctiondraw_heatmap
( ui: &mut Ui, heatmap: &HeatMapData, start: UtcTimestamp, end: UtcTimestamp, selection: &
src/ui/tabs/flamescope.rs:142
↓ 1 callersMethoddraw_main_window
(&mut self, ctx: &egui::Context)
src/ui/app.rs:90
↓ 1 callersMethoddraw_msg_info
(&self, ui: &mut Ui)
src/ui/tabs/grpclog.rs:94
↓ 1 callersMethoddraw_msg_list
(&mut self, ui: &mut Ui, collector: &Collector)
src/ui/tabs/grpclog.rs:59
↓ 1 callersMethoddraw_per_event_freq
(&mut self, ui: &mut Ui, start: UtcTimestamp, end: UtcTimestamp)
src/ui/tabs/trace_freq.rs:227
↓ 1 callersMethoddraw_sandwich_view
Draw the sandwich view with callers above and callees below
src/ui/tabs/flamegraph.rs:242
↓ 1 callersMethoddraw_sym_status_bar
(&self, ui: &mut Ui)
src/ui/tabs/executables.rs:160
↓ 1 callersMethoddraw_symbol_ingest_area
(&mut self, ui: &mut Ui)
src/ui/tabs/executables.rs:92
↓ 1 callersMethoddraw_tooltip
Populates the on-hover tooltip UI.
src/ui/tabs/flamegraph.rs:692
↓ 1 callersFunctionerror_spec_by_id
Get the specification for a given error by its ID.
src/storage/errorspec.rs:36
↓ 1 callersMethodevent_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 callersFunctionfetch_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 callersFunctionfetch_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 callersFunctionfetch_symbols
Tries to fetch symbols for the given file ID.
src/symbolizer/mod.rs:242
↓ 1 callersMethodflush_events
Remove all event data.
src/storage/mod.rs:75
↓ 1 callersMethodfrom
(tup: (Range<K>, V))
src/storage/rkyvtree.rs:66
↓ 1 callersMethodgenerate_id
Generate a unique ID.
src/storage/mod.rs:91
↓ 1 callersMethodgo_right
(&self, start: &K)
src/storage/rkyvtree.rs:182
↓ 1 callersFunctiongui_thread
(collector: crate::collector::Collector)
src/ui/mod.rs:26
↓ 1 callersMethodhandle_executable_drops
(&mut self, ctx: &egui::Context)
src/ui/tabs/executables.rs:79
↓ 1 callersFunctionhash
(location: impl Hash)
src/ui/tabs/top_funcs.rs:462
↓ 1 callersFunctionhumanize_count
Format a count to a nice representation optimized for human readability.
src/ui/util.rs:113
↓ 1 callersFunctioningest_locations
(dic: &ProfilesDictionary)
src/collector/otlp/service.rs:157
↓ 1 callersFunctioningest_task_controller
Spawns and manages ingestion tasks.
src/symbolizer/mod.rs:88
↓ 1 callersFunctioninsert_callee_node
Recursively insert a callee node and its descendants
src/ui/tabs/flamegraph.rs:1057
↓ 1 callersFunctioninsert_callee_subtree
Insert all callees of the target frame
src/ui/tabs/flamegraph.rs:1048
↓ 1 callersFunctioninsert_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 callersMethodinsert_trace
Insert a trace into the flame graph.
src/ui/tabs/flamegraph.rs:851
↓ 1 callersFunctioninstall
()
src/log.rs:34
↓ 1 callersMethodintersect
(&self, range: &ArchivedRange<K>)
src/storage/rkyvtree.rs:189
↓ 1 callersMethodlast_seq
Return the latest sequence number of the table. This is increased on every update transaction, after commit.
src/storage/table.rs:78
↓ 1 callersMethodline_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