<div dir="ltr"><div dir="ltr">Hello, Bryan!<div><br></div><div>The script is pretty simple:</div><div><br></div><div>#! /usr/bin/env stap<br># </div><div># how to run: stap -x PID ./recvfrom.stp<br>#<br><br>probe nd_syscall.recvfrom.return<br>{</div><div>        # 31 it's UDP fd, which could be obtained with `ss -anump`<br>        if (@entry(pointer_arg(1)) == 31)<br>                printf("return code %4d fd %d body:\n %s\n", returnval(), @entry(pointer_arg(1)), user_string2(@entry(pointer_arg(2)), "-"));<br>}<br></div><div><br></div><div>so, fill free to use it...</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 7 февр. 2020 г. в 17:29, Bryan Hunt <<a href="mailto:bryan.hunt@erlang-solutions.com">bryan.hunt@erlang-solutions.com</a>>:<br></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>
-- <br>
<br>
<br>
Code Sync & Erlang Solutions Conferences <br>
<<a href="https://www2.codesync.global/l/23452/2019-11-13/6sypwx" rel="noreferrer" target="_blank">https://www2.codesync.global/l/23452/2019-11-13/6sypwx</a>><br>
<br>
Lambda Days - <br>
Kraków: 13-14 February 2020<br>
<br>
Code BEAM SF - San Francisco: 5-6 March 2020<br>
<br>
<br>
Code BEAM Lite ITA - Bologna: 6 April 2020<br>
<br>
<br>
ElixirConf EU - Warsaw: 29-30 <br>
April 2020<br>
<br>
Code BEAM STO - Stockholm: 28-29 May 2020<br>
<br>
<br>
Erlang Solutions <br>
cares about your data and privacy; please find all details about the basis <br>
for communicating with you and the way we process your data in our Privacy <br>
Policy <<a href="https://www.erlang-solutions.com/privacy-policy.html" rel="noreferrer" target="_blank">https://www.erlang-solutions.com/privacy-policy.html</a>>. You can <br>
update your email preferences or opt-out from receiving Marketing emails <br>
here <br>
<<a href="https://www2.erlang-solutions.com/email-preference?epc_hash=JtO6C7Q2rJwCdZxBx3Ad8jI2D4TJum7XcUWcgfjZ8YY" rel="noreferrer" target="_blank">https://www2.erlang-solutions.com/email-preference?epc_hash=JtO6C7Q2rJwCdZxBx3Ad8jI2D4TJum7XcUWcgfjZ8YY</a>>.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 931 9877991<div><br></div></div></div></div></div></div></div>