From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEAFA1AF0DD for ; Mon, 4 Nov 2024 10:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730715249; cv=none; b=tNXbMW2M3+i+FmPL+17/K7hBDjZZ0adz14gqh2ILlKckekLqhLpfxW8G9nYzcD0EvAdaHPMbcU15LXZstwxQMs+hL7Ni4EyTXqrQznonfsVOVe+SH9Zmq48dbgmt6/YhrJbYSbnaZW5YHes50jHhJju+nlcP2c3BMRhiKXceiAw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730715249; c=relaxed/simple; bh=1ZD8l+C1EuzgucsrrDGFXbeA8HL3duQOdkk9LUjOOuY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=oZFbVMl5EuuZotc7WsmpKK+pPugCIpOggzUU9aTLDT+2VOgMcYVmueIoz6fwT4liBTaG2Vipg9UBONLiLtJbuSwmUBjZELzOh1s/P/AqzGq0imoymP0wobsOq25J4YLPr64YtfWT0PTxtIB2htIdvQzta5Nck0JBDeY+uRRLwg8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=JBdTG2CD; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="JBdTG2CD" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-539f7606199so1552080e87.0 for ; Mon, 04 Nov 2024 02:14:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1730715246; x=1731320046; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4c7jIDPXYCos97zH52V3Rx0a/Pe9j9klHJ/m3x5c878=; b=JBdTG2CDsTk3bs7k7oFyMLdFf3h6mEPrlfvF8A+EXatQWii5XOEqByNOKFyzpNXT7A gUc9w104s2pnumvfOHiGIz75TL/gkko1HsQT1BM/+uKKoIThYAg3eezlW7C4aqmgm+5O YvqUaxNq5wTbcdLXVT3Cg0TKrZtZqnNyO+04V+TuwFLDr451GZ1xtm9MP6IpwWnXsqZq I5cnC26we+v3aXyQ2613FQEoPfnMlBtwjnnZGAl/OGSjD8jdN19wuyYqeeWJ4dGKU+x/ eEpTHJNfuq+tTdJ3gUf2gqg/BG6AgbNanpmapup9zElD/2Doz3bbECi2eT0x1jo+nOKY 1usg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730715246; x=1731320046; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4c7jIDPXYCos97zH52V3Rx0a/Pe9j9klHJ/m3x5c878=; b=gwFwCXylnOcYHMi6FRxQt7eIjJ+ZyM2wQ9x4P3UWCnz7edV2JS9+dUeJKAXaArZ686 ylpOtIsiCtebAbUcisz8i9u7sP1R5O7k4mZ2gTvZu6fTIRZ8UjetVXBGVN2rbVJIWQU1 i4BRtCYz3aGCkckc4DwBGa+y3om4RgGbecXlhBWTp4vCoKGx5NgwwrYiBoanSIlNxkGP QMU6ZbgKTRbmn6XCMRC09i/aHrYc3Ux8yVjsPuHIAzw1ANt539GtIdZlzPhLcxi2e/+o wFrWSVgrbZy/rKLmoJD2jGB777GKUv7/8/eS3rBWRgaZsT2ZuWyrHXAfg2k1+j/ngV2i iaeA== X-Forwarded-Encrypted: i=1; AJvYcCVSSO6Kr0lqRI3f3J95ycjkLzgnX3npSx4T6l/O4GvtaJ4dsss9jao59BChG2ywT9ljyKSITXvzdPeeVomrZ+LfPMU=@vger.kernel.org X-Gm-Message-State: AOJu0YzsT5dZTp/2BAyTn/FVXYYOHlRFIv0n12G1SMme7vj9YfZ/lTOF PNHsVtsnHiv318OowK3bI5YBmAll+rc2vkSPEFD5Mh206ROmLW+sDJntNTBB+jXElr13/cU20BB MC+fshaKARuYAit6So0GEhuhVk5rRBXPKvzYq X-Google-Smtp-Source: AGHT+IF3YrSYDNpUh7K6DP1BrHft72F43XaFavJhNPR1z+HcVXMbGOoX4JuofOBYs8pgr4OQ7WmvjdXbt+mvTRqeQfM= X-Received: by 2002:a05:6512:3041:b0:539:e6bf:ca97 with SMTP id 2adb3069b0e04-53b7ecf28d7mr10644101e87.32.1730715245823; Mon, 04 Nov 2024 02:14:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20241030-tracepoint-v12-3-eec7f0f8ad22@google.com> <202411021421.jZ0FSDq6-lkp@intel.com> In-Reply-To: <202411021421.jZ0FSDq6-lkp@intel.com> From: Alice Ryhl Date: Mon, 4 Nov 2024 11:13:53 +0100 Message-ID: Subject: Re: [PATCH v12 3/5] rust: samples: add tracepoint to Rust sample To: kernel test robot Cc: Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Peter Zijlstra , Josh Poimboeuf , Jason Baron , Ard Biesheuvel , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , oe-kbuild-all@lists.linux.dev, linux-trace-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , linux-arch@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Sean Christopherson , Uros Bizjak , Catalin Marinas , Will Deacon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Nov 2, 2024 at 8:08=E2=80=AFAM kernel test robot wr= ote: > > Hi Alice, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on eb887c4567d1b0e7684c026fe7df44afa96589e6] > > url: https://github.com/intel-lab-lkp/linux/commits/Alice-Ryhl/rust-ad= d-static_branch_unlikely-for-static_key_false/20241031-000709 > base: eb887c4567d1b0e7684c026fe7df44afa96589e6 > patch link: https://lore.kernel.org/r/20241030-tracepoint-v12-3-eec7f0= f8ad22%40google.com > patch subject: [PATCH v12 3/5] rust: samples: add tracepoint to Rust samp= le > config: x86_64-randconfig-103-20241101 (https://download.01.org/0day-ci/a= rchive/20241102/202411021421.jZ0FSDq6-lkp@intel.com/config) > compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51= eccf88f5321e7c60591c5546b254b6afab99) > reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archi= ve/20241102/202411021421.jZ0FSDq6-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new vers= ion of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202411021421.jZ0FSDq6-lkp= @intel.com/ > > All errors (new ones prefixed by >>): > > >> error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in c= rate `$crate::bindings` > --> samples/rust/rust_print.rs:87:5 > | > 87 | / kernel::declare_trace! { > 88 | | /// # Safety > 89 | | /// > 90 | | /// Always safe to call. > 91 | | unsafe fn rust_sample_loaded(magic: c_int); > 92 | | } > | |_____^ not found in `$crate::bindings` > | > =3D note: this error originates in the macro `kernel::declare_trace` (= in Nightly builds, run with -Z macro-backtrace for more info) > -- > >> error[E0425]: cannot find function `rust_do_trace_rust_sample_loaded` = in crate `$crate::bindings` > --> samples/rust/rust_print.rs:87:5 > | > 87 | / kernel::declare_trace! { > 88 | | /// # Safety > 89 | | /// > 90 | | /// Always safe to call. > 91 | | unsafe fn rust_sample_loaded(magic: c_int); > 92 | | } > | |_____^ not found in `$crate::bindings` > | > =3D note: this error originates in the macro `kernel::declare_trace` (= in Nightly builds, run with -Z macro-backtrace for more info) This bot is using a buggy bindgen. Please see https://lore.kernel.org/all/20241030-bindgen-libclang-warn-v1-1-3a7ba9fedcf= e@google.com/ which was also mentioned in the cover letter. Alice