We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f890bb3 commit 3edc36aCopy full SHA for 3edc36a
aya/src/maps/info.rs
@@ -97,7 +97,6 @@ impl MapInfo {
97
/// Introduced in kernel v4.15.
98
pub fn name_as_str(&self) -> Option<&str> {
99
let name = std::str::from_utf8(self.name()).ok()?;
100
- // Char in program name was introduced in the same commit as map name
101
(FEATURES.bpf_name() || !name.is_empty()).then_some(name)
102
}
103
0 commit comments