Skip to content

Commit

Permalink
flamegraph.py: Display TLS extension events
Browse files Browse the repository at this point in the history
Signed-off-by: Daiki Ueno <[email protected]>
  • Loading branch information
ueno committed Nov 13, 2023
1 parent 3509057 commit da05ec8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/flamegraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ def format_details(self, name, events):
if "tls::ciphersuite" in events:
details.append(CIPHERSUITES.get(events["tls::ciphersuite"],
"unknown ciphersuite"))
for event in events:
if event.startswith("tls::ext::"):
details.append(event[len("tls::ext::"):])
elif name.startswith("tls::certificate_"):
if "tls::signature_algorithm" in events:
details.append(
Expand Down

0 comments on commit da05ec8

Please sign in to comment.