Re: [iovisor-dev] Trace point events missing with bpf_trace_printk

2017-06-30 Thread Y Song via iovisor-dev
On Fri, Jun 30, 2017 at 6:12 AM, Nair, Reena via iovisor-dev wrote: > Hi, > > > I am trying to track the scheduling events of a particular process using the > static tracepoint: sched_switch. > > A map entry is updated for each context switch, which is working fine, > however some of the events a

Re: [iovisor-dev] [PATCH v3 net-next 00/12] bpf: rewrite value tracking in verifier

2017-06-30 Thread Alexei Starovoitov via iovisor-dev
On 6/30/17 9:44 AM, Edward Cree wrote: I haven't measured the test_progs ones, because I *still* haven't gotten around to actually setting up a BPF toolchain (it doesn't help that I'm building everything on a test server that gets reimaged every night to run our nightly tests...). then you'r

[iovisor-dev] [TEST PATCH] bpf/verifier: roll back ptr&const handling, and fix signed bounds

2017-06-30 Thread Edward Cree via iovisor-dev
I'm far from sure that my adjust_reg_min_max_vals() code remains correct in the face of maybe-signed-maybe-not bounds, even with the checks I've added in. So this probably has security leaks in it; but it should suffice for measuring the effect on pruning. The treat_as_signed part is loosely b

Re: [iovisor-dev] [PATCH v3 net-next 00/12] bpf: rewrite value tracking in verifier

2017-06-30 Thread Edward Cree via iovisor-dev
On 28/06/17 22:37, Alexei Starovoitov wrote: > Increasing the limit is must have, since pruning suffered so much. > Going from 53k to 76k is pretty substantial. > What is the % increase for tests in selftests/ ? When I tried to measure the test_verifier tests, they changed hardly at all, only a co

Re: [iovisor-dev] Backporting ebpf

2017-06-30 Thread Alexei Starovoitov via iovisor-dev
On Fri, Jun 30, 2017 at 6:05 AM, carlos antonio neira bustos via iovisor-dev wrote: > Hi, > > I just integrated changes from this commit for Kernel version 3.15 > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bd4cf0ed331a275e9bf5a49e6d0fd55dffc551b8 that is just

[iovisor-dev] Trace point events missing with bpf_trace_printk

2017-06-30 Thread Nair, Reena via iovisor-dev
Hi, I am trying to track the scheduling events of a particular process using the static tracepoint: sched_switch. A map entry is updated for each context switch, which is working fine, however some of the events are missed while printing the value using bpf_trace_printk() (Each context switc

[iovisor-dev] Backporting ebpf

2017-06-30 Thread carlos antonio neira bustos via iovisor-dev
Hi, I just integrated changes from this commit for Kernel version 3.15 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id= bd4cf0ed331a275e9bf5a49e6d0fd55dffc551b8 into Kernel version 3.10.0-514.21.1 that’s what Centos 7 uses out of the box. Besides changes on a cou