lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Aug 2015 09:25:54 -0700
From:	Alexei Starovoitov <ast@...mgrid.com>
To:	Kaixu Xia <xiakaixu@...wei.com>, daniel@...earbox.net,
	davem@...emloft.net
Cc:	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	wangnan0@...wei.com, pi3orama@....com
Subject: Re: [PATCH net-next] bpf: fix build warnings and add function
 read_trace_pipe()

On 8/12/15 2:37 AM, Kaixu Xia wrote:
> There are two improvements in this patch:
>   1. Fix the build warnings;
>   2. Add function read_trace_pipe() to print the result on
>      the screen;
>
> Before this patch, we can get the result through /sys/kernel/de
> bug/tracing/trace_pipe and get nothing on the screen.
> By applying this patch, the result can be printed on the screen.
>    $ ./tracex6
> 	...
>           tracex6-705   [003] d..1   131.428593: : CPU-3   19981414
>              sshd-683   [000] d..1   131.428727: : CPU-0   221682321
>              sshd-683   [000] d..1   131.428821: : CPU-0   221808766
>              sshd-683   [000] d..1   131.428950: : CPU-0   221982984
>              sshd-683   [000] d..1   131.429045: : CPU-0   222111851
>           tracex6-705   [003] d..1   131.429168: : CPU-3   20757551
>              sshd-683   [000] d..1   131.429170: : CPU-0   222281240
>              sshd-683   [000] d..1   131.429261: : CPU-0   222403340
>              sshd-683   [000] d..1   131.429378: : CPU-0   222561024
> 	...
>
> Signed-off-by: Kaixu Xia<xiakaixu@...wei.com>

thanks!
Acked-by: Alexei Starovoitov <ast@...mgrid.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ