Skip to content

gethostlatency no output #853

@oity

Description

@oity

gethostlatency on ubuntu Ubuntu 16.04.1 LTS (4.4.0-53-generic) after printinig colum headers produce no noticeable output

:/usr/share/bcc/tools# ./gethostlatency
TIME PID COMM LATms HOST
^C

while in other terminal a test program has been ran

ltrace ./a.out www.google.it
__libc_start_main(0x4006d6, 2, 0x7ffdd3ef79a8, 0x400790 <unfinished ...>
gethostbyname("www.google.it") = 0x7fe3808581c0
printf("Hostname: %s\n", "www.google.it"Hostname: www.google.it
) = 24
inet_ntoa({ 0x23c63ad8 }) = "216.58.198.35"
printf("IP Address: %s\n", "216.58.198.35"IP Address: 216.58.198.35
) = 26
+++ exited (status 0) +++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions