From owner-svn-src-all@freebsd.org Tue Dec 15 10:28:05 2015 Return-Path: Delivered-To: svn-src-all@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 BAC9EA47E8D; Tue, 15 Dec 2015 10:28:05 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31BAA174D; Tue, 15 Dec 2015 10:28:04 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from [130.235.5.34] ([130.235.5.34]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0M4Nqe-1aRIDw3pwS-00yj2I; Tue, 15 Dec 2015 11:27:57 +0100 Subject: Re: svn commit: r292236 - in head: contrib/mdocml lib lib/libc/sys lib/libsysdecode share/mk usr.bin/kdump usr.bin/truss To: Roman Divacky , John Baldwin References: <201512150005.tBF057l2097434@repo.freebsd.org> <20151215095604.GA28067@vlakno.cz> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Christian Brueffer Message-ID: <566FE95B.4010702@FreeBSD.org> Date: Tue, 15 Dec 2015 11:20:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151215095604.GA28067@vlakno.cz> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:IVT2/dyNOVmlEClbfu6z+pHJxvls5fv1SbycJKn3DmV9QBnM+oS asyfn6Kg7BPkdoxVUCd4efW36C6Cnann5fhCLjyyvvts6w4yKEZ4CorKuA2I/LPzTxxanjr kpHP+Uhlmi56UEjNJnMsR8yOaFkPRTrdLLU8iyHdIZG1iuio1PqSKyEMdmvhji9tUsij7HY gNjW5JI03AtkEFIfsmLaw== X-UI-Out-Filterresults: notjunk:1;V01:K0:nKDLAuH7QL8=:TGQFKtucDuAw7cbjTIThWE px/yZrls4+WxZvE6G4XUAeKHOcuaewSdEyXifYxtK0BsA/erB+Is1mxg8FnOQPyzigoQIPg7c R9wkroVqHrfx7qpqZQapfOQLJKYofR3OX0qzXJeyB/VqQr6T58+Ng1zyTtg93vO3IvqkiPAY3 XQvGzxBuOv05UkDNdQK44R03Eq1dR3NfvzxDsVAykDQs559+YO5HKE8xu6mMmRMf0Hjoe7JW5 QZZ+aCD0fJfZcncM9aQLPm3eo8HCPenztGs+pkvXzNV/qMBXKq9qQqX0B12JDhSZdJdvfgqbi wYQAWS5kYo5wYXMb+CtTzDXU1RjIDi0DprtHedHD8BXukmPWOnRHQ27FmMDJWtGo5Ah6qGxlG EPQVuV9r0TAWNasCbqP240Vim+k0gO2uo1upyJIF/NGVsVj3AVeb60KFWf6mgwNMY7xdRqmRt 9NV6/tG6tpbpZ6EgaBI0j2RubD/a1TFrg36419vv4YoF/IUiA7BN4E+QyD6TD5iuILlAWv+rs kUkizm3DVi/fjIbY33HgxsQ6ty3MVE53MuZ2zpX/2NtP1sFo/E2gcN4/TXt+BpGjKv+fMHXay coEGcyIcRSLlv87/QTFzHZDgX272yx9cNw1EyaEo2Qi4nV1fW1cKbgtmrs4xaFIzXFKV8EY04 K7+fI7PibMMveffZMHqN7al7i+OOKD1Rczu2fh4gY0ncgbRrMueIIptHTaqt+fDDrt/+KraLS 8d1ROGOuHclUYHWf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2015 10:28:05 -0000 On 2015-12-15 10:56, Roman Divacky wrote: > On Tue, Dec 15, 2015 at 12:05:07AM +0000, John Baldwin wrote: >> Author: jhb >> Date: Tue Dec 15 00:05:07 2015 >> New Revision: 292236 >> URL: https://svnweb.freebsd.org/changeset/base/292236 >> >> Log: >> Start on a new library (libsysdecode) that provides routines for decoding >> system call information such as system call arguments. Initially this >> will consist of pulling duplicated code out of truss and kdump though it >> may prove useful for other utilities in the future. >> >> This commit moves the shared utrace(2) record parser out of kdump into >> the library and updates kdump and truss to use it. One difference from >> the previous version is that the library version treats unknown events >> that start with the "RTLD" signature as unknown events. This simplifies >> the interface and allows the consumer to decide how to handle all >> non-recognized events. Instead, this function only generates a string >> description for known malloc() and RTLD records. >> >> Reviewed by: bdrewery >> Differential Revision: https://reviews.freebsd.org/D4537 >> >> Added: >> head/lib/libsysdecode/ >> head/lib/libsysdecode/Makefile (contents, props changed) >> head/lib/libsysdecode/sysdecode.3 (contents, props changed) >> head/lib/libsysdecode/sysdecode.h (contents, props changed) >> head/lib/libsysdecode/sysdecode_utrace.3 (contents, props changed) >> head/lib/libsysdecode/utrace.c >> - copied, changed from r292235, head/usr.bin/kdump/utrace.c >> Deleted: >> head/usr.bin/kdump/utrace.c >> Modified: >> head/contrib/mdocml/lib.in >> head/lib/Makefile >> head/lib/libc/sys/utrace.2 >> head/share/mk/bsd.libnames.mk >> head/share/mk/src.libnames.mk >> head/usr.bin/kdump/Makefile >> head/usr.bin/kdump/Makefile.depend >> head/usr.bin/kdump/kdump.c >> head/usr.bin/truss/Makefile >> head/usr.bin/truss/Makefile.depend.amd64 >> head/usr.bin/truss/syscalls.c >> >> Modified: head/contrib/mdocml/lib.in >> ============================================================================== >> --- head/contrib/mdocml/lib.in Mon Dec 14 23:25:31 2015 (r292235) >> +++ head/contrib/mdocml/lib.in Tue Dec 15 00:05:07 2015 (r292236) >> @@ -110,6 +110,7 @@ LINE("libsdp", "Bluetooth Service Disco >> LINE("libssp", "Buffer Overflow Protection Library (libssp, \\-lssp)") >> LINE("libstdthreads", "C11 Threads Library (libstdthreads, \\-lstdthreads)") >> LINE("libSystem", "System Library (libSystem, \\-lSystem)") >> +LINE("libsysdcode", "System Argument Decoding Library (libsysdecode, \\-lsysdecode)") > > Is this a typo? > It is; fixed in r292257. Good spotting! Chris