From owner-freebsd-dtrace@freebsd.org Wed Jun 8 13:32:16 2016 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 30D56B6F87E for ; Wed, 8 Jun 2016 13:32:16 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (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 F0BF81D07 for ; Wed, 8 Jun 2016 13:32:15 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-io0-x244.google.com with SMTP id 5so1277529ioy.0 for ; Wed, 08 Jun 2016 06:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GJiegQezBnHRSogVnqjAcb6pyt8+2sxIJk9sY4i8PG8=; b=G0rwhbMW5UoViX1isaMshv/HI56TP+fd4M8Joz9gXwbkxzGDbFXXFikPW9Jz9Ly6iU 2d4uDxANdZ2Z51cICbnbpVgAELJY6DI3rMSdFtn71ZFgv1Qs731h3C3AStplvPEd/C5s lJg8PcHK6yb3TAicWPRIFrf6Du7HJIDFjP6XsgzdXGR3cD7SpurBfwbpr0xvKsx7UoKd sqynKzq9HxKvgEHayN/s56bh1FEvAkI4rHFX5/skRaq7S3Ydcw2GCQZgKz5RzoDmINTb Bxv/uf+UOP1IqmjHmX4ondb5ff5o8z/m7LwUNQhozshTh5+SmROp4IdCfnIwI0+3sWsh M76Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GJiegQezBnHRSogVnqjAcb6pyt8+2sxIJk9sY4i8PG8=; b=PBv40ryBL6b+nkDKfwQuxL/HpVUByRfZDISirq/YkdVFoPGPYxc4T0IM9NMAm8LWK/ KU97gWtjWKJtxTJPWusQa512Uoqf6w//LUShtDC0ZEMZx8re2yyVKCy8zQMZ35sitWkL 7mS8md/biKVSsdm3utQPNkGgJj3kQY9fen3oHyrsUExsDvjihezq9AgLUcrb4O4u+sBJ qC0KgY74arNUyU9AX1j0Qi6Lq9v3OWUpnDgiGtbbNPGqSuAo+9jSUvY5kxg8ZANDjk2n woA7ToamojMCVeerDLWKeYU1N1uUNUTTNdd+Vs0NtPoUBgYy8agk0PDwPGtQ4xlI+Smc sCTQ== X-Gm-Message-State: ALyK8tIwM/mK6bGUfXdmk/hf3uDpnelmudTb0rCevSuaJ51uGpLVNJa63DPl+trxqDQsbP2Z96hJ1/TuND7vrQ== X-Received: by 10.107.175.3 with SMTP id y3mr8221083ioe.113.1465392735450; Wed, 08 Jun 2016 06:32:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.57.9 with HTTP; Wed, 8 Jun 2016 06:32:14 -0700 (PDT) In-Reply-To: References: From: Ryan Stone Date: Wed, 8 Jun 2016 09:32:14 -0400 Message-ID: Subject: Re: Problem mapping multiple definitions of a structure coming from different modules To: Shrikanth Kamath Cc: "freebsd-dtrace@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 08 Jun 2016 13:32:16 -0000 I don't have a system with separate em or igb modules so I can't test this, but I was under the impression that you could make this work with a syntax along the lines of: struct if_em`tx_ring or struct if_em.ko`tx_ring Unfortunately, this doesn't help those who have the drivers compiler into their kernel, but it should work for you.