From owner-freebsd-dtrace@freebsd.org Thu Jun 25 19:07:06 2015 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1F4F98D9E9 for ; Thu, 25 Jun 2015 19:07:06 +0000 (UTC) (envelope-from abhya007@gmail.com) Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B874F18AC; Thu, 25 Jun 2015 19:07:06 +0000 (UTC) (envelope-from abhya007@gmail.com) Received: by pdcu2 with SMTP id u2so59019192pdc.3; Thu, 25 Jun 2015 12:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wu+Zdfz7mORbwFxQ2WR+mxdpUh1e2WgfGZJqRG2uXeU=; b=E5WSn6ZeanO9RVPwSP1LzHQAOD8EgavAfjnO6ZgV7Hgk8ZjXbHkIlkPx0c4YrmgBnn vMotuMKP5SH6/TLEMjX3v+81K+V5PZ7yaJaXdGzCWgnpCxLFDkKwze6tz3ZIpVN4a6kC sMp9u3eDORnmCJf/64i3IAtTqz91s+19OVVHYu/+rUPSDo3pDI4dqo/jlE8xLEXRhK7C 1og3leJ/ZLfoFBl4vRhhWcaa9XVkJRDy/L4S0j9WkHRGdIOrp/Cp5Kzrjs4fV3ZVfLOn 489S8FL6aLbui1rQjIawJ1yhKy6TX2JJo4YgoCzuc9rxjSRpUgDz966KwE+6V9rdK/Li Wv/A== MIME-Version: 1.0 X-Received: by 10.68.229.200 with SMTP id ss8mr2655354pbc.150.1435259226231; Thu, 25 Jun 2015 12:07:06 -0700 (PDT) Received: by 10.70.46.99 with HTTP; Thu, 25 Jun 2015 12:07:06 -0700 (PDT) Date: Thu, 25 Jun 2015 12:07:06 -0700 Message-ID: Subject: Regarding schedgraph.py From: abhishek kulkarni To: freebsd-dtrace@freebsd.org, rstone@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 19:07:07 -0000 Hello All, I am using the schedgraph.py tool for plotting the data generated by schedgraph.d for FreeBSD. I am looking to add a feature to it wherein I need the epoch timestamp to be added to the CPU load graph.We can get the epoch timestamp from the Dtrace script using the Walltimestamp field. In schedgrap.py, the problem is that the parse function uses the regex expressions for each line. Could you suggest a regex expression for the walltimestamp that I could add to the code and also the method by which its value could be populated. Thanks and Regards Abhishek Kulkarni