Skip to main content

Module extract

Module extract 

Source

Re-exportsยง

use crate::process::PerfMemRecord; ๐Ÿ”’
use crate::sched_util::cmd_extract_sched_util; ๐Ÿ”’
use anyhow::Context as _; ๐Ÿ”’
use anyhow::Result; ๐Ÿ”’
use clap::ArgAction; ๐Ÿ”’
use clap::Parser; ๐Ÿ”’
use clap::Subcommand; ๐Ÿ”’
use regex::Regex; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use std::collections::BTreeSet; ๐Ÿ”’
use std::collections::HashMap; ๐Ÿ”’
use std::fs::File; ๐Ÿ”’
use std::io::BufRead; ๐Ÿ”’
use std::io::BufReader; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’

Structsยง

CellConfig ๐Ÿ”’
CellSpec ๐Ÿ”’
ClusterResult ๐Ÿ”’
Result of clustering analysis for a group
CommCluster ๐Ÿ”’
Clustering result for a single comm
CommSummary ๐Ÿ”’
ExtractMemOpts
ExtractOpts
ExtractSchedOpts
ExtractSchedUtilOpts
GroupData ๐Ÿ”’
Samples belonging to a group, in time order
GroupedCommSamples ๐Ÿ”’
SimpleCellMatches ๐Ÿ”’

Enumsยง

CellMatch ๐Ÿ”’
CellMatches ๐Ÿ”’
ExtractCommand
ExtractSchedCommand
GroupType ๐Ÿ”’
Group type for clustering decisions

Constantsยง

DEFAULT_WORKLOAD_ALLOTMENT_CGROUP_REGEX ๐Ÿ”’
DEFAULT_WORKLOAD_CGROUP_REGEX ๐Ÿ”’

Functionsยง

build_comm_match_clauses ๐Ÿ”’
build_subcells_from_clusters ๐Ÿ”’
Build subcells from clustering result. Returns empty if no significant comms.
classify_cgroup ๐Ÿ”’
cmd_extract
cmd_extract_mem
cmd_extract_sched
compute_clusters ๐Ÿ”’
Compute clustering for samples. Returns empty result for group types where clustering is not yet implemented.
compute_significant_hints ๐Ÿ”’
emitted_comm_patterns ๐Ÿ”’
generate_config ๐Ÿ”’
group_samples_by_normalized_comm ๐Ÿ”’
normalize_comm_for_cluster ๐Ÿ”’
summarize_comm_groups ๐Ÿ”’