Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp474500lqi; Thu, 7 Mar 2024 02:52:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVJLhDEjS4/Z/0NwpIqGK+uubqoFU6dA4kwrZkKHPXJNj7cobKaTqLK2x2GTBTIIm6QZimoTGwGqDYigh0ulq9erxoWM0WJYPSLN9zb0Q== X-Google-Smtp-Source: AGHT+IHsyfZV+xsraMscVrDaO8p6cjHXLOIWYWKKxfAKD4TLMJgNmYHXwmU+yU/LG5MwbLb8Oa/O X-Received: by 2002:a05:6e02:20ef:b0:365:27ec:e94a with SMTP id q15-20020a056e0220ef00b0036527ece94amr21440326ilv.16.1709808721967; Thu, 07 Mar 2024 02:52:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709808721; cv=pass; d=google.com; s=arc-20160816; b=uGjxZnCcSyjW0AcWWHkQv6svV18EUWLCs3KE0M/iuwaRNUljkpL/pJGUYlRMO8spM0 mKOsFIS+tPSoCKGrWYIsoGQC7SpJ1lEvV6VZY1+C+z0P4VotB07HYrzVkzXrrEd2znzc h02mMy31WFTa2m3t6Y/hcfxEc/vb7X1nPKHXz3DL2a9fqhhaSaSzUpgY+a6ddt8bKtJD kSoR9lQG6Ap1uZFajMA9Z/za1QeH1WOt+IpfU36+U3ryoOXMFEbPNw84d9Do6JHT3e2a q9qwkwXGu052vdTShrIdwLUQLTBCR5YeftKaB86yzGJXlG0Es59Lgb2URTRdHby8pPsX 7qfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=CEUroHRud//+MTdEiRJr23aPL5vO2Oqq1OV4r+2SD9E=; fh=V2NzVzPqznQpBum2GV+3u6WutxH9uw0xd6506ze4ERw=; b=Cq9XPSFqu4NkiRk8CWpRoY7mH0JNk+hAqkbUlTU6pgWwM3lffkU/sa4Fl+vYcQN/mJ Yom2iQ0eliCD9C2HCJ7j4XBIYFCYw8+MTX+SjMMZ2UMjDh5oMW52hTKIqEaihPay5U2Q XX38aAt4/mkEpN2XSLp8kG2uq5a0yxgmol6fOekGW5I3Iyu8Wt2JpRqb2NQ4UPt2+NmA +vpltPDgBQyaPLT5PnIHShI8HojS8mza9cPPrw2Tn1srxo1n1SyR3rMswHXnNNnANlzy DSVuePwI85KppyGmUzAwWRfegA/F0WEAwjlJ62LF4+ZvGyMM54SBNfXxV2m6pmzEXd+C o1pA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=cambridgegreys.com); spf=pass (google.com: domain of linux-kernel+bounces-95358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95358-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e35-20020a630f23000000b005be09b723b7si13667161pgl.636.2024.03.07.02.52.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 02:52:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=cambridgegreys.com); spf=pass (google.com: domain of linux-kernel+bounces-95358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95358-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B9030B220F9 for ; Thu, 7 Mar 2024 10:50:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B01685920; Thu, 7 Mar 2024 10:50:09 +0000 (UTC) Received: from www.kot-begemot.co.uk (ns1.kot-begemot.co.uk [217.160.28.25]) (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 2797283CAF; Thu, 7 Mar 2024 10:50:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.160.28.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709808608; cv=none; b=jhmHr0RFTo7UQt8Fhbqj/vswTLhPiSGGFJzL5awNJUWOSdLxg3JQUYBR6/lKol0WY5mrIOsAKvw9OgywlFS73I44l3N4VKRWNGNcTFzcxdakKuTV9Ow06NSUeIQ+C2fcI5ryTtiPIsIuvMUabmbT4pWaeJ9Nvw98g5b4jhcUfck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709808608; c=relaxed/simple; bh=ZzG+eAiAVIliAT/8yyBZr4RKhrPLz83uIS/Odi/W98A=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=V3doLSWKkU3yRlwtiCq0YQE1jwI7AeiDpMJUEOeq5DQPN+OK+qoFEg0KPzlMj2rZiIzGpAytQDS+SlTfu58BbH15deehxYPyysIWd1g/iT9ReoOInEYpaXuyWvyu8Y/LZ264HQyUUd/HuXv3iDqjhP7dfbYSaQ46rKC7dmSSB/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cambridgegreys.com; spf=pass smtp.mailfrom=cambridgegreys.com; arc=none smtp.client-ip=217.160.28.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cambridgegreys.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cambridgegreys.com Received: from [192.168.17.6] (helo=jain.kot-begemot.co.uk) by www.kot-begemot.co.uk with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1riBK5-00DtdZ-EY; Thu, 07 Mar 2024 10:50:01 +0000 Received: from jain.kot-begemot.co.uk ([192.168.3.3]) by jain.kot-begemot.co.uk with esmtp (Exim 4.96) (envelope-from ) id 1riBK0-002kf3-2N; Thu, 07 Mar 2024 10:50:01 +0000 Message-ID: <4ee83195-99f5-4823-b4d0-339ef4127013@cambridgegreys.com> Date: Thu, 7 Mar 2024 10:49:56 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pcap-dbus.o:undefined reference to `dbus_message_demarshal' Content-Language: en-US To: Johannes Berg , 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 References: <202403052336.y6DkUd8a-lkp@intel.com> <87cfca1e-3f53-4935-a274-0920bce86373@cambridgegreys.com> <463be980baf66b967031e3294c3b9745b07aa058.camel@sipsolutions.net> <2cc222b7-618c-46a9-b78b-eb099d0f4be7@cambridgegreys.com> From: Anton Ivanov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 X-Spam-Score: -1.0 X-Clacks-Overhead: GNU Terry Pratchett On 07/03/2024 10:29, Johannes Berg wrote: > On Thu, 2024-03-07 at 10:27 +0000, Anton Ivanov wrote: >>> >>> 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? >> >> That is one option. >> >> As far as common use cases are concerned, at present you can: >> >> tcpdump -ddd, convert it to raw binary (3 liner in a language of choice) and pass that to vecX as a bpffile= >> >> It may be worth it to make vecX also take the -ddd format directly by adding "format" options to bpffile. >> >> 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 generators 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? Let's make it so. > > johannes > > -- Anton R. Ivanov Cambridgegreys Limited. Registered in England. Company Number 10273661 https://www.cambridgegreys.com/