From owner-freebsd-current@FreeBSD.ORG Mon Nov 30 15:43:04 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4333106568F for ; Mon, 30 Nov 2009 15:43:04 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED4E8FC08 for ; Mon, 30 Nov 2009 15:43:04 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 8242581BB for ; Mon, 30 Nov 2009 15:43:03 +0000 (UTC) Date: Mon, 30 Nov 2009 15:42:54 +0000 From: Bruce Cran To: current@freebsd.org Message-ID: <20091130154254.00000e29@unknown> X-Mailer: Claws Mail 3.7.2cvs27 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: pmcstat log reading broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 15:43:04 -0000 I'm having problems converting a hwpmc capture file to a gprof format or getting callchain information on a system runnning -current from today - it always crashes in pmclog_read: > pmcstat -o pmc1 -n 32768 -S instructions > pmcstat -R pmc1 -g Assertion failed: (ps->ps_len == 0), function pmclog_read, file /usr/src/lib/libpmc/pmclog.c, line 494. Abort (core dumped) hwpmc attaches as: hwpmc: TSC/1/64/0x20 IAP/4/48/0x3ff IAF/3/48/0x61 The CPU is an Intel i7: CPU: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz (2698.78-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106a5 Stepping = 5 Features=0xbfebfbff Features2=0x98e3bd AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant real memory = 6442450944 (6144 MB) avail memory = 6192877568 (5905 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads -- Bruce Cran