From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16025 invoked by alias); 22 Apr 2010 00:39:17 -0000 Received: (qmail 16009 invoked by uid 22791); 22 Apr 2010 00:39:15 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Apr 2010 00:39:07 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 40B8C1B401A; Thu, 22 Apr 2010 00:39:05 +0000 (UTC) From: Mike Frysinger To: Doug Evans Subject: Re: [PATCH] sim: profile: implement --profile-file backend Date: Thu, 22 Apr 2010 00:39:00 -0000 User-Agent: KMail/1.13.1 (Linux/2.6.33.2; KDE/4.4.1; x86_64; ; ) Cc: gdb-patches@sourceware.org References: <1271882917-28580-1-git-send-email-vapier@gentoo.org> <201004212027.01906.vapier@gentoo.org> In-Reply-To: <201004212027.01906.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10969737.AVKmqutYun"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201004212039.35705.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00723.txt.bz2 --nextPart10969737.AVKmqutYun Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 1635 sorry, i noticed i need these two fixes for some ports. the ones i was bui= ld testing worked, but i wrote a small helper script to build all of them and noticed the problem. wish sim had a --enable-targets=3Dall option like gdb= , but in the mean time, i'll stick with this script for future patches. -mike sim/frv/: 2010-04-21 Mike Frysinger * profile.c (sim_profile_print_bar): Add cpu argument. RCS file: /cvs/src/src/sim/frv/profile.c,v retrieving revision 1.11 diff -u -p -r1.11 profile.c --- sim/frv/profile.c 1 Jan 2010 10:03:29 -0000 1.11 +++ sim/frv/profile.c 22 Apr 2010 00:34:57 -0000 @@ -2042,7 +2042,7 @@ print_parallel (SIM_CPU *cpu, int verbos max_name_len, slot_names[i], max_val < 10000 ? 5 : 10, COMMAS (INSNS_IN_SLOT (i))); - sim_profile_print_bar (sd, PROFILE_HISTOGRAM_WIDTH, + sim_profile_print_bar (sd, cpu, PROFILE_HISTOGRAM_WIDTH, INSNS_IN_SLOT (i), max_val); sim_io_printf (sd, "\n"); sim/common/: 2010-04-21 Mike Frysinger * sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU. RCS file: /cvs/src/src/sim/common/sim-profile.h,v retrieving revision 1.10 diff -u -p -r1.10 sim-profile.h --- sim/common/sim-profile.h 22 Apr 2010 00:26:08 -0000 1.10 +++ sim/common/sim-profile.h 22 Apr 2010 00:36:05 -0000 @@ -308,6 +308,6 @@ do { \ =20 /* Misc. utilities. */ =20 -extern void sim_profile_print_bar (SIM_DESC, SIM_CPU *, unsigned int, unsi= gned int, unsigned int); +extern void sim_profile_print_bar (SIM_DESC, sim_cpu *, unsigned int, unsi= gned int, unsigned int); =20 #endif /* SIM_PROFILE_H */ --nextPart10969737.AVKmqutYun Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iQIcBAABAgAGBQJLz5rHAAoJEEFjO5/oN/WBkygP/R4jOwv9t/kLu0/9MYQW1JiW VYY15mNRBVpJmq/oy/LKqErvqhA6hwM8jxLMCjSjGd6Muv0qXHpOELXwKEZw6trd QdEV/CKNeR5D3kmM+eUeEYjHvAmQKA7jaATQ+Rek/UHZAs7h2b8mUSDb6jkjD6fo 6EVoh2XJXYNOztNEcOuWLs+8sIEU+fFVi2GmUFJjMAzIlzB/HVVkaswWFG76h3Xu UQ2eeOxcoAA3rvkanPCtMKAXEojGS+7xIxfaZnzbVw6BxMONHnRriw5ChdZSM8js ndtA4Jv5cgASA0oX4a7w06WcY3KKtYSo1tt5ZAjwOUWHfXEATKMPCGEa09RfDm91 oMvOy3SCFD4Fzo9cr/AKxLc2CdAYHhBUrOldYQEW54hK4hCAsUwkkkCdPS9+HeGF NzVshx0jWsnqjRfcZiBuxjeyabgwOwi1LxFx1uemeGUKcnUnMp7wx7JPXvOzP77i mDv5N51/hFo0SF4f1uDsCCaJLk3kX5sUvyqymC/PPafSdlVIQympZWj8b3YADQEw Dxng9PAFG3H7emgXWz6i9xxAIga9feYEoXEl5ywUSi0Peeg/lOyopXwg+e3421XF ZsskEZUETNvebbY6rHAZMghvrPVMRnessVV/ZvM590aQe+rSHRh56lf0r2Y4RJ0M Z3PiW8IcMBDNUiM1EvG9 =5g7f -----END PGP SIGNATURE----- --nextPart10969737.AVKmqutYun--