<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Beautiful - much appreciated - great tool, systemtap. <div class=""><br class=""></div><div class="">B<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 7 Feb 2020, at 16:29, Alexander Petrovsky <<a href="mailto:askjuise@gmail.com" class="">askjuise@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Hello, Bryan!<div class=""><br class=""></div><div class="">The script is pretty simple:</div><div class=""><br class=""></div><div class="">#! /usr/bin/env stap<br class=""># </div><div class=""># how to run: stap -x PID ./recvfrom.stp<br class="">#<br class=""><br class="">probe nd_syscall.recvfrom.return<br class="">{</div><div class="">        # 31 it's UDP fd, which could be obtained with `ss -anump`<br class="">        if (@entry(pointer_arg(1)) == 31)<br class="">                printf("return code %4d fd %d body:\n %s\n", returnval(), @entry(pointer_arg(1)), user_string2(@entry(pointer_arg(2)), "-"));<br class="">}<br class=""></div><div class=""><br class=""></div><div class="">so, fill free to use it...</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 7 февр. 2020 г. в 17:29, Bryan Hunt <<a href="mailto:bryan.hunt@erlang-solutions.com" class="">bryan.hunt@erlang-solutions.com</a>>:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I don’t suppose you’d care to share your systemtap recipe to the list? Sounds very interesting/useful. <br class="">
-- <br class="">
<br class="">
<br class="">
Code Sync & Erlang Solutions Conferences <br class="">
<<a href="https://www2.codesync.global/l/23452/2019-11-13/6sypwx" rel="noreferrer" target="_blank" class="">https://www2.codesync.global/l/23452/2019-11-13/6sypwx</a>><br class="">
<br class="">
Lambda Days - <br class="">
Kraków: 13-14 February 2020<br class="">
<br class="">
Code BEAM SF - San Francisco: 5-6 March 2020<br class="">
<br class="">
<br class="">
Code BEAM Lite ITA - Bologna: 6 April 2020<br class="">
<br class="">
<br class="">
ElixirConf EU - Warsaw: 29-30 <br class="">
April 2020<br class="">
<br class="">
Code BEAM STO - Stockholm: 28-29 May 2020<br class="">
<br class="">
<br class="">
Erlang Solutions <br class="">
cares about your data and privacy; please find all details about the basis <br class="">
for communicating with you and the way we process your data in our Privacy <br class="">
Policy <<a href="https://www.erlang-solutions.com/privacy-policy.html" rel="noreferrer" target="_blank" class="">https://www.erlang-solutions.com/privacy-policy.html</a>>. You can <br class="">
update your email preferences or opt-out from receiving Marketing emails <br class="">
here <br class="">
<<a href="https://www2.erlang-solutions.com/email-preference?epc_hash=JtO6C7Q2rJwCdZxBx3Ad8jI2D4TJum7XcUWcgfjZ8YY" rel="noreferrer" target="_blank" class="">https://www2.erlang-solutions.com/email-preference?epc_hash=JtO6C7Q2rJwCdZxBx3Ad8jI2D4TJum7XcUWcgfjZ8YY</a>>.<br class="">
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Петровский Александр / Alexander Petrovsky,<br class=""><br class="">Skype: askjuise<br class=""><div class="">Phone: +7 931 9877991<div class=""><br class=""></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>
<br>
<p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span style="text-decoration:underline;font-family:Arial;color:rgb(17,85,204);background-color:rgb(255,255,255);font-weight:700;font-style:normal;font-variant:normal;vertical-align:baseline;white-space:pre-wrap"><font size="3"><a href="https://www2.codesync.global/l/23452/2019-11-13/6sypwx" style="text-decoration:none" target="_blank">Code Sync & Erlang Solutions Conferences</a></font></span></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Helvetica,sans-serif;color:rgb(68,68,68);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><font size="3">Lambda Days - Kraków: 13-14 February 2020</font></span></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Helvetica,sans-serif;color:rgb(68,68,68);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><font size="3">Code BEAM SF - San Francisco: 5-6 March 2020</font></span></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Helvetica,sans-serif;color:rgb(68,68,68);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><font size="3">Code BEAM Lite ITA - Bologna: 6 April 2020<br></font></span></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Helvetica,sans-serif;color:rgb(68,68,68);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><font size="3">ElixirConf EU - Warsaw: 29-30 April 2020</font></span></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Helvetica,sans-serif;color:rgb(68,68,68);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><font size="3">Code BEAM STO - Stockholm: 28-29 May 2020</font></span></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span><br><font size="2"><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Erlang Solutions cares about your data and privacy; please find all details about the basis for communicating with you and the way we process your data in our </span><a href="https://www.erlang-solutions.com/privacy-policy.html" target="_blank"><span style="font-family:Arial;color:rgb(17,85,204);vertical-align:baseline;white-space:pre-wrap">Privacy Policy</span></a><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">. You can update your email preferences or opt-out from receiving Marketing emails </span><a href="https://www2.erlang-solutions.com/email-preference?epc_hash=JtO6C7Q2rJwCdZxBx3Ad8jI2D4TJum7XcUWcgfjZ8YY" target="_blank"><span style="font-family:Arial;color:rgb(17,85,204);vertical-align:baseline;white-space:pre-wrap">here</span></a><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">.</span></font></span></p>