Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932326AbbGGPBI (ORCPT ); Tue, 7 Jul 2015 11:01:08 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:35363 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932197AbbGGPAu (ORCPT ); Tue, 7 Jul 2015 11:00:50 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Tue, 7 Jul 2015 11:06:55 -0400 (EDT) To: Masami Hiramatsu cc: Vince Weaver , linux-kernel@vger.kernel.org, Ananth N Mavinakayanahalli , Anil S Keshavamurthy , "David S. Miller" , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Steven Rostedt Subject: Re: perf, kprobes: fuzzer generates huge number of WARNings In-Reply-To: <559BAB68.9000009@hitachi.com> Message-ID: References: <559B3899.5040802@hitachi.com> <559BAB68.9000009@hitachi.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3189 Lines: 66 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 ftracetest as below. > > $ cd tools/testing/selftest/ftrace/ > $ sudo ./ftracetest > > This will do a series of basic tests on ftrace and report it. It won't run: sudo ./ftracetest Error: No ftrace directory found probably because I am running 4.2-rc1 and have tracefs mounted under /sys/kernel/tracing. I guess the tester needs to be updated? I'll see if I can get debugfs mounted too, but I had changed the setup so perf would run. When I recompiled my kernel to remove the extra debug messages and run my fuzzer test I get a lot of these, probably because I have the kprobe address hard-coded into the tester. [ 290.067450] Could not insert probe at _text+1664816: -84 [ 290.074976] Probing address(0xffffffff81196730) is not an instruction boundary. [ 290.131191] Could not insert probe at _text+1664816: -84 [ 290.137555] Probing address(0xffffffff81196730) is not an instruction boundary. [ 290.170513] Could not insert probe at _text+1664816: -84 [ 290.176877] Probing address(0xffffffff81196730) is not an instruction boundary. [ 290.298940] Could not insert probe at _text+1664816: -84 [ 290.305224] Probing address(0xffffffff81196730) is not an instruction boundary. [ 290.349272] Could not insert probe at _text+1664816: -84 [ 290.355585] Probing address(0xffffffff81196730) is not an instruction boundary. [ 290.365738] Could not insert probe at _text+1664816: -84 [ 290.371992] Probing address(0xffffffff81196730) is not an instruction boundary. [ 290.383820] perf interrupt took too long (448 > 266), lowering kernel.perf_event_max_sample_rate to 468250 [ 295.088511] perf interrupt took too long (485 > 0), lowering kernel.perf_event_max_sample_rate to 1639281051 [ 311.415309] INFO: rcu_sched detected stalls on CPUs/tasks: { 5} (detected by 6, t=5253 jiffies, g=1818, c=1817, q=534) [ 311.427531] Task dump for CPU 5: [ 311.431631] in:imklog R running task 0 1736 1 0x00000008 [ 311.439865] 0000000000000286 0000000100000005 0000000000000096 0000000200000000 [ 311.448549] 0000000000000286 ffffffff81c4b2e0 ffffffff81c4b2e0 ffffffff828da234 [ 311.457173] 0000000000001f2f 00007fa62335fe11 0000000000000071 ffffffff828da234 [ 311.465865] Call Trace: [ 311.469098] [] ? do_syslog+0x456/0x500 [ 311.475518] [] ? wait_woken+0x90/0x90 [ 311.481830] [] ? kmsg_read+0x44/0x60 [ 311.488040] [] ? mutex_unlock+0xe/0x10 [ 311.494433] [] ? calibrate_delay+0x8f0/0x8f0 [ 311.501356] [] ? retint_check+0x6/0x12 [ 313.873152] hrtimer: interrupt took 14075878236 ns -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/