-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade bcc and libbpf to fix Google COS socket tracer issues #1909
Upgrade bcc and libbpf to fix Google COS socket tracer issues #1909
Conversation
022cc3c
to
21f4736
Compare
urls = [ | ||
"https://github.com/libbpf/libbpf/archive/refs/tags/v1.0.1.tar.gz", | ||
"https://github.com/libbpf/libbpf/archive/3b0973892891744d20ae79e99c0d1a26a59c4222.tar.gz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Dom Del Nano <[email protected]>
Signed-off-by: Dom Del Nano <[email protected]>
Signed-off-by: Dom Del Nano <[email protected]>
21f4736
to
30fc826
Compare
@@ -68,7 +68,8 @@ TEST(BCCSymbolizer, ModuleName) { | |||
for (const auto& entry : smaps) { | |||
if (entry.pathname == "[vdso]") { | |||
const std::string_view symbol = symbolizer.SymbolOrAddrIfUnknown(pid, entry.vmem_start); | |||
EXPECT_EQ(symbol, "[m] [vdso] + 0x00000000"); | |||
const std::string expected = absl::StrCat("[m] [vdso] + 0x", absl::Hex(entry.vmem_start)); | |||
EXPECT_EQ(symbol, expected); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iovisor/bcc#4319 provides better symbolization and is the source of this behavior change. I verified this by reverting the change and seeing if the previous version of the test succeeded.
Signed-off-by: Dom Del Nano <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me but maybe get @JamesMBartlett or @oazizi000 take a quick pass at it too.
Summary: Upgrade bcc and libbpf to fix Google COS socket tracer issues
See GitHub issue comments below for more details. This pulls in the following BCC fix (iovisor/bcc@57ca51b).
Relevant Issues: Closes #1900, part of #1905
Type of change: /kind bug
Test Plan: Skaffold'ed this change to a Ubuntu and Google COS cluster and verified socket tracer works again
Changelog Message: Fix issue with socket tracer on recent Google COS instances