From nobody Fri Jul 01 07:33:26 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5A62F8B2F5D; Fri, 1 Jul 2022 07:33:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LZ6Pg0M1Vz4wP7; Fri, 1 Jul 2022 07:33:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656660807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c2N49UUmP5Wq3ts85o5gKyBS9vawZLrQHWXTdk7JttI=; b=bQvSrvZZhO9EhLwdqjSpUzYv+DL0m43kiIgXMp7zBf9fk5Hxww2azZobRvIPz10yxDBKRJ AqnlA6HcsjujeDzqyipQ6/w2xF4z/sSFpfwmUORZw3GpJ+48ln9t2RU6CvBVwgxUjj7r5D H/Vx34Q/gt/fU5M6TIF5WXufWf0JYY1tvIW94y8sxzs+Y+0xEgMrvo9apHEHXi263rVaYK ZkDyUcwoODmbmOXGIeB3DtobMwdZydOJlKEgqVLbt2Izepf/hvhXGmiTl0MS1Qp5Y3SOEc 5GYfZys3A45Q+rni95FZub/jchGVm056fAZEH/2fNRg+FdktdYvuPljN1v/aGw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B3F8217050; Fri, 1 Jul 2022 07:33:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2617XQ3J059690; Fri, 1 Jul 2022 07:33:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2617XQ3C059689; Fri, 1 Jul 2022 07:33:26 GMT (envelope-from git) Date: Fri, 1 Jul 2022 07:33:26 GMT Message-Id: <202207010733.2617XQ3C059689@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 711d50bd9e07 - main - dtrace: Remove local mips support List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 711d50bd9e0716ced63ab77a5e2b7fa7c5ed10b3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656660807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c2N49UUmP5Wq3ts85o5gKyBS9vawZLrQHWXTdk7JttI=; b=Fo7qekmyXerxE1Oc07SkiClr6Crg9Xv8CTueq8qBAs9Q3ZF93A1trGRaG7NRFm4xz0aQ18 YLyirbvmAms6t3SZ3oBvKqpmDHSY01fzq0ouCbSxOs7ZliYzOvERvGr8D3RmeD/jj8o5Bw cuNL12YitkNJazyezxTpS186OwBZ42s02rVWGE+cVH6f/ktAf/RwQ9bW9ZZ1AmFrrJ9pg/ /WdgtUD0sOvBz1meIp9AptN2nW7pl9anUkayYyCgKNFxH4rp3ZFlc4b+9tdpSg4xk0kwUB dsMgRgrCC+tloYuI7qmhE2NMShbpWDh9hdBEtpL3k8OeS1m2tvOBbwQPtnphjA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656660807; a=rsa-sha256; cv=none; b=fQwuOGK1nAr7+Tyfdu3cCBuIsPwxpt82D8T8yZ8bFO3Xp+hx0X9oYXLPLgqZk8zU8wz63F 6gbBgQLn/gMnnE4W6RHPctLekmsni/jk6ZqQPFjnDThVKds03wiC1vkjyKE0kZJgE0D2nj m92eguIWMVRJzdoRiaDmpclsY5rX5QvcuHYr5yOp/9XGg2X4qmvY2DlpBWyI2hbgAd8pzW WgpN25HBJ1vsqitqAN7dNjBIBQN28v6x4Sf1gHoDFq9dAQAaJMETo/fvcIDbT3qxoMDJlq jwioyLYpCszvrUSfy8p0WRFj5AUvaLFbViQUUahvOnBAwsW6vXHOoW+9jq7czA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=711d50bd9e0716ced63ab77a5e2b7fa7c5ed10b3 commit 711d50bd9e0716ced63ab77a5e2b7fa7c5ed10b3 Author: Brooks Davis AuthorDate: 2022-07-01 07:33:17 +0000 Commit: Brooks Davis CommitDate: 2022-07-01 07:33:17 +0000 dtrace: Remove local mips support Remove the stub pid probe and all the build glue. Reviewed by: imp, jhb Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D35541 --- .../opensolaris/lib/libdtrace/mips/dt_isadep.c | 75 ---------------------- cddl/lib/libdtrace/Makefile | 4 -- cddl/usr.sbin/Makefile | 5 -- 3 files changed, 84 deletions(-) diff --git a/cddl/contrib/opensolaris/lib/libdtrace/mips/dt_isadep.c b/cddl/contrib/opensolaris/lib/libdtrace/mips/dt_isadep.c deleted file mode 100644 index 1aeb95f3dfd7..000000000000 --- a/cddl/contrib/opensolaris/lib/libdtrace/mips/dt_isadep.c +++ /dev/null @@ -1,75 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ -/* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" - -#include -#include -#include -#include -#include - -#include -#include - -/*ARGSUSED*/ -int -dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, - fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) -{ - - dt_dprintf("%s: unimplemented\n", __func__); - return (DT_PROC_ERR); -} - -int -dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, - fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) -{ - - dt_dprintf("%s: unimplemented\n", __func__); - return (DT_PROC_ERR); -} - -/*ARGSUSED*/ -int -dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, - fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) -{ - - dt_dprintf("%s: unimplemented\n", __func__); - return (DT_PROC_ERR); -} - -/*ARGSUSED*/ -int -dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, - fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) -{ - - dt_dprintf("%s: unimplemented\n", __func__); - return (DT_PROC_ERR); -} diff --git a/cddl/lib/libdtrace/Makefile b/cddl/lib/libdtrace/Makefile index 05b183215f4c..f95517f10ebb 100644 --- a/cddl/lib/libdtrace/Makefile +++ b/cddl/lib/libdtrace/Makefile @@ -107,10 +107,6 @@ CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/intel -DDIS_MEM CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/arm .PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/arm .PATH: ${SRCTOP}/sys/cddl/dev/dtrace/arm -.elif ${MACHINE_CPUARCH} == "mips" -CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/mips -.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/mips -.PATH: ${SRCTOP}/sys/cddl/dev/dtrace/mips .elif ${MACHINE_CPUARCH} == "powerpc" CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/powerpc .PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/powerpc diff --git a/cddl/usr.sbin/Makefile b/cddl/usr.sbin/Makefile index 42de5c96c53a..4dde136dc412 100644 --- a/cddl/usr.sbin/Makefile +++ b/cddl/usr.sbin/Makefile @@ -34,11 +34,6 @@ _dwatch= dwatch _lockstat= lockstat .endif -.if ${MACHINE_CPUARCH} == "mips" -_dtrace= dtrace -_dwatch= dwatch -.endif - .if ${MACHINE_CPUARCH} == "powerpc" _dtrace= dtrace _dwatch= dwatch