<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/samples/bpf/sampleip_kern.c, branch v5.3.7</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v5.3.7</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v5.3.7'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2016-11-28T21:26:46Z</updated>
<entry>
<title>bpf/samples: Fix PT_REGS_IP on s390x and use it</title>
<updated>2016-11-28T21:26:46Z</updated>
<author>
<name>Michael Holzheu</name>
<email>holzheu@linux.vnet.ibm.com</email>
</author>
<published>2016-11-28T12:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2dbb4c05d048995455857a7c2927a4297fc66c3b'/>
<id>urn:sha1:2dbb4c05d048995455857a7c2927a4297fc66c3b</id>
<content type='text'>
The files "sampleip_kern.c" and "trace_event_kern.c" directly access
"ctx-&gt;regs.ip" which is not available on s390x. Fix this and use the
PT_REGS_IP() macro instead.

Also fix the macro for s390x and use "psw.addr" from "pt_regs".

Reported-by: Zvonko Kosic &lt;zvonko.kosic@de.ibm.com&gt;
Signed-off-by: Michael Holzheu &lt;holzheu@linux.vnet.ibm.com&gt;
Acked-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>samples/bpf: add sampleip example</title>
<updated>2016-09-02T17:46:45Z</updated>
<author>
<name>Brendan Gregg</name>
<email>bgregg@netflix.com</email>
</author>
<published>2016-09-02T01:37:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=72874418e4b9e2673c26a810b0ae9f418b573ee3'/>
<id>urn:sha1:72874418e4b9e2673c26a810b0ae9f418b573ee3</id>
<content type='text'>
sample instruction pointer and frequency count in a BPF map

Signed-off-by: Brendan Gregg &lt;bgregg@netflix.com&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
