Re: Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-09 Thread Masami Hiramatsu
On 2015/07/08 0:11, Vince Weaver wrote: > On Tue, 7 Jul 2015, Vince Weaver wrote: > >> On Tue, 7 Jul 2015, Masami Hiramatsu wrote: >> It's a Hawell machine running 4.2-rc1. I can post the .config if it's of interest. >>> >>> Yes, I'm interested in. >> >> I've put it here: >>

Re: Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-09 Thread Masami Hiramatsu
On 2015/07/08 0:11, Vince Weaver wrote: On Tue, 7 Jul 2015, Vince Weaver wrote: On Tue, 7 Jul 2015, Masami Hiramatsu wrote: It's a Hawell machine running 4.2-rc1. I can post the .config if it's of interest. Yes, I'm interested in. I've put it here:

Re: Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-08 Thread Masami Hiramatsu
On 2015/07/08 6:21, Alexei Starovoitov wrote: > On Tue, Jul 07, 2015 at 05:08:51PM -0400, Vince Weaver wrote: >> On Tue, 7 Jul 2015, Alexei Starovoitov wrote: >> >>> On Tue, Jul 07, 2015 at 12:00:12AM -0400, Vince Weaver wrote: Well the BPF hack is in the fuzzer, not the kernel. And

Re: Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-08 Thread Masami Hiramatsu
On 2015/07/08 6:21, Alexei Starovoitov wrote: On Tue, Jul 07, 2015 at 05:08:51PM -0400, Vince Weaver wrote: On Tue, 7 Jul 2015, Alexei Starovoitov wrote: On Tue, Jul 07, 2015 at 12:00:12AM -0400, Vince Weaver wrote: Well the BPF hack is in the fuzzer, not the kernel. And it's not really a

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Masami Hiramatsu
Hi Vince, On 2015/07/08 3:06, Vince Weaver wrote: > On Tue, 7 Jul 2015, Steven Rostedt wrote: > >> On Tue, 7 Jul 2015 11:06:55 -0400 (EDT) >> Probably. If you recompiled the kernel, you need to find the new >> address points. > > should these messages really be spamming the syslog? > > I

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Alexei Starovoitov
On Tue, Jul 07, 2015 at 05:08:51PM -0400, Vince Weaver wrote: > On Tue, 7 Jul 2015, Alexei Starovoitov wrote: > > > On Tue, Jul 07, 2015 at 12:00:12AM -0400, Vince Weaver wrote: > > > > > > Well the BPF hack is in the fuzzer, not the kernel. And it's not really > > > a > > > hack, it just

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Vince Weaver
On Tue, 7 Jul 2015, Alexei Starovoitov wrote: > On Tue, Jul 07, 2015 at 12:00:12AM -0400, Vince Weaver wrote: > > > > Well the BPF hack is in the fuzzer, not the kernel. And it's not really a > > hack, it just turned out to be a huge pain to figure out how to > > manually create a valid BPF

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Alexei Starovoitov
On Tue, Jul 07, 2015 at 12:00:12AM -0400, Vince Weaver wrote: > > Well the BPF hack is in the fuzzer, not the kernel. And it's not really a > hack, it just turned out to be a huge pain to figure out how to > manually create a valid BPF program in conjunction with a valid kprobe > event. You

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Vince Weaver
On Tue, 7 Jul 2015, Steven Rostedt wrote: > On Tue, 7 Jul 2015 11:06:55 -0400 (EDT) > Probably. If you recompiled the kernel, you need to find the new > address points. should these messages really be spamming the syslog? I updated the kprobe to point to the right location again (this

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Steven Rostedt
On Tue, 7 Jul 2015 11:06:55 -0400 (EDT) Vince Weaver wrote: > On Tue, 7 Jul 2015, Masami Hiramatsu wrote: > > > > It's a Hawell machine running 4.2-rc1. I can post the .config if it's of > > > interest. > > > > Yes, I'm interested in. > > I've put it here: >

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Vince Weaver
On Tue, 7 Jul 2015, Vince Weaver wrote: > On Tue, 7 Jul 2015, Masami Hiramatsu wrote: > > > > It's a Hawell machine running 4.2-rc1. I can post the .config if it's of > > > interest. > > > > Yes, I'm interested in. > > I've put it here: >

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Vince Weaver
On Tue, 7 Jul 2015, Masami Hiramatsu wrote: > > It's a Hawell machine running 4.2-rc1. I can post the .config if it's of > > interest. > > Yes, I'm interested in. I've put it here: http://web.eece.maine.edu/~vweaver/junk/haswell-config > OK, and also, if you have a chance, please run

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Masami Hiramatsu
On 2015/07/07 13:00, Vince Weaver wrote: > On Tue, 7 Jul 2015, Masami Hiramatsu wrote: > >> On 2015/07/07 6:27, Vince Weaver wrote: >>> Hello >>> >>> I've been working on trying to get the perf_fuzzer to start fuzzing the >>> PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Alexei Starovoitov
On Tue, Jul 07, 2015 at 12:00:12AM -0400, Vince Weaver wrote: Well the BPF hack is in the fuzzer, not the kernel. And it's not really a hack, it just turned out to be a huge pain to figure out how to manually create a valid BPF program in conjunction with a valid kprobe event. You mean

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Vince Weaver
On Tue, 7 Jul 2015, Steven Rostedt wrote: On Tue, 7 Jul 2015 11:06:55 -0400 (EDT) Probably. If you recompiled the kernel, you need to find the new address points. should these messages really be spamming the syslog? I updated the kprobe to point to the right location again (this is

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Vince Weaver
On Tue, 7 Jul 2015, Alexei Starovoitov wrote: On Tue, Jul 07, 2015 at 12:00:12AM -0400, Vince Weaver wrote: Well the BPF hack is in the fuzzer, not the kernel. And it's not really a hack, it just turned out to be a huge pain to figure out how to manually create a valid BPF program in

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Alexei Starovoitov
On Tue, Jul 07, 2015 at 05:08:51PM -0400, Vince Weaver wrote: On Tue, 7 Jul 2015, Alexei Starovoitov wrote: On Tue, Jul 07, 2015 at 12:00:12AM -0400, Vince Weaver wrote: Well the BPF hack is in the fuzzer, not the kernel. And it's not really a hack, it just turned out to be a

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Steven Rostedt
On Tue, 7 Jul 2015 11:06:55 -0400 (EDT) Vince Weaver vincent.wea...@maine.edu wrote: On Tue, 7 Jul 2015, Masami Hiramatsu wrote: It's a Hawell machine running 4.2-rc1. I can post the .config if it's of interest. Yes, I'm interested in. I've put it here:

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Masami Hiramatsu
On 2015/07/07 13:00, Vince Weaver wrote: On Tue, 7 Jul 2015, Masami Hiramatsu wrote: On 2015/07/07 6:27, Vince Weaver wrote: Hello I've been working on trying to get the perf_fuzzer to start fuzzing the PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. However

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Masami Hiramatsu
Hi Vince, On 2015/07/08 3:06, Vince Weaver wrote: On Tue, 7 Jul 2015, Steven Rostedt wrote: On Tue, 7 Jul 2015 11:06:55 -0400 (EDT) Probably. If you recompiled the kernel, you need to find the new address points. should these messages really be spamming the syslog? I updated the

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Vince Weaver
On Tue, 7 Jul 2015, Masami Hiramatsu wrote: It's a Hawell machine running 4.2-rc1. I can post the .config if it's of interest. Yes, I'm interested in. I've put it here: http://web.eece.maine.edu/~vweaver/junk/haswell-config OK, and also, if you have a chance, please run the

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Vince Weaver
On Tue, 7 Jul 2015, Vince Weaver wrote: On Tue, 7 Jul 2015, Masami Hiramatsu wrote: It's a Hawell machine running 4.2-rc1. I can post the .config if it's of interest. Yes, I'm interested in. I've put it here: http://web.eece.maine.edu/~vweaver/junk/haswell-config OK,

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Vince Weaver
On Tue, 7 Jul 2015, Masami Hiramatsu wrote: > On 2015/07/07 6:27, Vince Weaver wrote: > > Hello > > > > I've been working on trying to get the perf_fuzzer to start fuzzing the > > PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. > > > > However before I can get to the

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Vince Weaver
On Mon, 6 Jul 2015, Steven Rostedt wrote: > On Mon, 6 Jul 2015 17:27:04 -0400 (EDT) > Vince Weaver wrote: > > [ 3521.650521] ---[ end trace a413501925547ed5 ]--- > > [ 3521.655960] ftrace failed to modify [] > > handle_mm_fault+0x0/0x1750 > > [ 3521.664767] actual: e8:cb:18:ef:1e > > Hmm, it

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Masami Hiramatsu
On 2015/07/07 6:27, Vince Weaver wrote: > Hello > > I've been working on trying to get the perf_fuzzer to start fuzzing the > PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. > > However before I can get to the BPF testing the kprobe code generates a > constant stream

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Steven Rostedt
On Mon, 6 Jul 2015 17:27:04 -0400 (EDT) Vince Weaver wrote: > Hello > > I've been working on trying to get the perf_fuzzer to start fuzzing the > PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. > > However before I can get to the BPF testing the kprobe code generates

perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Vince Weaver
Hello I've been working on trying to get the perf_fuzzer to start fuzzing the PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. However before I can get to the BPF testing the kprobe code generates a constant stream of WARNINGS which make the machine more or less useless

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Steven Rostedt
On Mon, 6 Jul 2015 17:27:04 -0400 (EDT) Vince Weaver vincent.wea...@maine.edu wrote: Hello I've been working on trying to get the perf_fuzzer to start fuzzing the PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. However before I can get to the BPF testing the

perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Vince Weaver
Hello I've been working on trying to get the perf_fuzzer to start fuzzing the PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. However before I can get to the BPF testing the kprobe code generates a constant stream of WARNINGS which make the machine more or less useless

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Masami Hiramatsu
On 2015/07/07 6:27, Vince Weaver wrote: Hello I've been working on trying to get the perf_fuzzer to start fuzzing the PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. However before I can get to the BPF testing the kprobe code generates a constant stream of

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Vince Weaver
On Tue, 7 Jul 2015, Masami Hiramatsu wrote: On 2015/07/07 6:27, Vince Weaver wrote: Hello I've been working on trying to get the perf_fuzzer to start fuzzing the PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support. However before I can get to the BPF testing

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-06 Thread Vince Weaver
On Mon, 6 Jul 2015, Steven Rostedt wrote: On Mon, 6 Jul 2015 17:27:04 -0400 (EDT) Vince Weaver vincent.wea...@maine.edu wrote: [ 3521.650521] ---[ end trace a413501925547ed5 ]--- [ 3521.655960] ftrace failed to modify [81196730] handle_mm_fault+0x0/0x1750 [ 3521.664767]