Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp463233lqi; Thu, 7 Mar 2024 02:30:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWLQG8VuvmslCtDg9L3jz95ZVukJGBKXeo/kDRhUW+xfHZe+DBVEHXjRmSXDmJAmYnJhQGLk0mGhcnwK7c5nrM2xFGbmSLAfJd49ALRhw== X-Google-Smtp-Source: AGHT+IGFSK4OotklsIDBjNTVvbbOfKENIZ9L+tbBloZ3p3WVc7hYrEcV26fiQnnc5kydIld1ekGM X-Received: by 2002:a17:906:3941:b0:a44:5477:bb46 with SMTP id g1-20020a170906394100b00a445477bb46mr12354808eje.61.1709807400200; Thu, 07 Mar 2024 02:30:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709807400; cv=pass; d=google.com; s=arc-20160816; b=cRSxGm+syLnwkAjBFdjzBpDG6la1PReIO6Txbyh/1sTmbIF3ABnfU3MnjCfcFg1qW8 ejDIYvpBSwHwllQho5jGPhTCjAiJjB62tQbt6HVIvG+qrEea15zmcNKgiIjen/7Lf8YC L3pSPq477yv4ceI4lKJn5pCW0eVGTNeTsW0k9u+47Z9O1bwYv1ouei6w5fo9Gui96RTK qgpEmigjGjhpipEcAhlegHvVqNlgBYMc/CilgoytHGyv+gcU2906lPWIuIzXKlKPkiQc AVVZGmcwVJgsQy2ktGHetl5BQjcJN2GLkjnlIlvVHtaqkRiM9RFJzhBTFOQ9DDDvvazt twjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=vkFekbspeK5lcVDIHIUxDZO/hMV0UJA60B9DU9IECYA=; fh=F+JshSjS/xV8yYn6wiQxJC/5SgPHIc9rcDgwnTZ61VM=; b=DGby034wyOXZPdKLuEBo6I01gi2KGH9NwCtNoAb47RONrk65eHwnULMIhptOiZ7s8o J7sGLsQk8UVe21tHyhuc50kmSpLq7Q0XZM6kdbFL0LXRGpC1P75AXr0Fc9UqnV3QMDPA N8dY4zIaJBnmbHF03ryw1mzJegT9dq3DMvsTXTjM65kbfqUr1WJ3nqBYs3Cnf1KHONbI SDoJWj82bVvZOtTXyPc7LcljkTU2+5hP70wRfDL9SO6QAulUU4NCQCT2pW/ZH/cIhvC/ VRVcHhtJdF+xD9UcTXqXXfGmOMb7HASYVh5zGgvKyiwrem3u0v0lnWv9qAkrE6Ab9xh1 FvkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=VGXnNUZc; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-kernel+bounces-95331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id uz15-20020a170907118f00b00a3fbd1f9e34si6612223ejb.814.2024.03.07.02.30.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 02:30:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=VGXnNUZc; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-kernel+bounces-95331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CDA4B1F22D2D for ; Thu, 7 Mar 2024 10:29:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 128598526C; Thu, 7 Mar 2024 10:29:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="VGXnNUZc" Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5B8E82880; Thu, 7 Mar 2024 10:29:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709807392; cv=none; b=Rzq/5WWsP/9NSIv5Sa7POwrVcGPyd3yetxlhBrBgonrJJEwrC5bWcB2LEmRxNU5dNm2GXlhhEEQ8UsKPFHfFgpZIJZ6Bo2sSE0eHp6UWaQXtl7HWYhMtm0D7v0wxHaMGm6g4/90G8yAMvHGDvLyUH4hFlsYln/n+hfaI/yTyX0g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709807392; c=relaxed/simple; bh=vkFekbspeK5lcVDIHIUxDZO/hMV0UJA60B9DU9IECYA=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=nm1jHS/ySY42r6AxZ8fuWqcMiF23PFTlkwA2u7dcf6GISYx0J6hNdweJIBnMWznvvzyTD8PGERcZDwUW1nIUc6AR6MFEm5N3HUMT+UEjnZVLDmOtAV27NO0qHMWbT47sCucAZJw09IgJNGCLHg3sa+IBD3/r5VNjvP3Z7Nr8uk8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=VGXnNUZc; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=vkFekbspeK5lcVDIHIUxDZO/hMV0UJA60B9DU9IECYA=; t=1709807389; x=1711016989; b=VGXnNUZc/P+de7Tg501CT7kEHoKPGlCOF2QDGMat4UUqhS7 2v3zjshr7AuDqSvfjMnljY7gcYAkCHcxVWWieaYkm9LKqAheQhVL8+cpjBhVPyckZD3sAxgbfL3fb um/KRyGcNu5pi6k2gEFmvQ+jzoYtcJ49Ii1wmrztcyIohfGsSoh/nQ0jy+pXHFjZCilZjZvqDLwSR /sUyFduSFqHPbn9BuGysn8iJrXbkbKGbrBttAZq02zMolddMMEYeZG9ejG42DOQiOuA4qY3zzR5iO Gz6WR3HRJD0ll/OhwPvfjYnFJbG6ICtS1lZYs6Tc0cl653jbSEQGO05RPLLHuttg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1riB0U-00000005bPH-16fc; Thu, 07 Mar 2024 11:29:46 +0100 Message-ID: Subject: Re: pcap-dbus.o:undefined reference to `dbus_message_demarshal' From: Johannes Berg To: Anton Ivanov , Waqar Hameed , Ingo Molnar Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, kernel@axis.com, Richard Weinberger , linux-um@lists.infradead.org Date: Thu, 07 Mar 2024 11:29:45 +0100 In-Reply-To: <2cc222b7-618c-46a9-b78b-eb099d0f4be7@cambridgegreys.com> References: <202403052336.y6DkUd8a-lkp@intel.com> <87cfca1e-3f53-4935-a274-0920bce86373@cambridgegreys.com> <463be980baf66b967031e3294c3b9745b07aa058.camel@sipsolutions.net> <2cc222b7-618c-46a9-b78b-eb099d0f4be7@cambridgegreys.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Thu, 2024-03-07 at 10:27 +0000, Anton Ivanov wrote: > >=20 > > How's that required to be formatted and loaded? tcpdump itself can also > > dump the filter in BPF format, with -d/-ddd (-dd is a C representation, > > so probably not useful). Perhaps we could even automatically call > > 'tcpdump' at runtime? >=20 > That is one option. >=20 > As far as common use cases are concerned, at present you can: >=20 > tcpdump -ddd, convert it to raw binary (3 liner in a language of choice) = and pass that to vecX as a bpffile=3D >=20 > It may be worth it to make vecX also take the -ddd format directly by add= ing "format" options to bpffile. >=20 > I'd rather do that instead of invoking tcpdump out of a device open. The = -ddd notation (+/- a comma here and there) is > standard - it is also used by iptables, etc. It can used by other code ge= nerators as well. Yeah, that makes sense, this is all kind of special configuration anyway, and given that it's been broken forever ... I actually doubt anyone would scream if we just removed it, so maybe just remove it and if they do scream, point to the above, including said 3-liner in the response? johannes