From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 6026C344054 for ; Fri, 21 Nov 2025 10:36:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763721398; cv=none; b=r7kVf1hOMc9+c5WNJ7VQPltSJqn9Vxi4XaZwCZiDQJlLSiFPWUNgEbaJuEzszC7dCuutLYqHvLbBwZRW2QCObvxaX+QXMg8qI1hDg1rRwvl28qkHuMNKuk+l46tK89seDWE5+8pCQclxp2KK18wrEpzjaKxBGvSWS/10UsMb6dc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763721398; c=relaxed/simple; bh=PnqaGvDW4awPRaCnByk9YHcpO48TDXmUOU2aBwHXmJY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mHDXIO+VOYVRA4fp8xe7RwwOwqc8CJB180eMNPySimuuBRtcNtqxxe+Hqk0tukZd6wc7teTKYK7pw46E5ODwCi7wHVxJEDLTwOXdMv/nzX0U6fGcyg/nINST89PLthK7UhZlbViKE+mC7ngUehaZTbb2AErePbqmv+U5RiNN3Gw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Gr62ynHy; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Gr62ynHy" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=odp++CT/HG5wFpnTgwHL73+djQsv8j8lbq2fSKNVryQ=; b=Gr62ynHyK7IFLsMIGu8XJl8iyX 2Qug6MnHvb/ef/7ZXtv1ipZqb/1NNHyVkIgH1+5ez8C6kv2gvYC/Tu61MqyxtxEJEHeZUzrctWD3K sg+QJx125O5ZK02vTsExrNL9I6QjbZirUTDcove3hRUwoS18eFhGzRA4sX+uATyemVsbG5k1mVV/c R1iVGW4QLGm3F+lOjctmzJGrN3d6TAEHSQ7Q+z0T9uRXwuDcwdyp1GzgXr5k2AGdosq2S3FGhXnIz OqcMu0JTmZFmOLZ4VLbMZSAmtczH0hl9tJ6Vvs2jxurC+5+JrHAneAOb1IfjK6zv5bMbwJ2cNIlsd i/WChA/A==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vMOVE-00000002ild-2inS; Fri, 21 Nov 2025 10:36:32 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 2A10B300342; Fri, 21 Nov 2025 11:36:32 +0100 (CET) Date: Fri, 21 Nov 2025 11:36:32 +0100 From: Peter Zijlstra To: Alexandre Chartre Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, jpoimboe@kernel.org, david.laight.linux@gmail.com Subject: Re: [PATCH v6 00/30] objtool: Function validation tracing Message-ID: <20251121103632.GM4067720@noisy.programming.kicks-ass.net> References: <20251121095340.464045-1-alexandre.chartre@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251121095340.464045-1-alexandre.chartre@oracle.com> On Fri, Nov 21, 2025 at 10:53:10AM +0100, Alexandre Chartre wrote: > Alexandre Chartre (30): > objtool: Move disassembly functions to a separated file > objtool: Create disassembly context > objtool: Disassemble code with libopcodes instead of running objdump > tool build: Remove annoying newline in build output > objtool: Print symbol during disassembly > objtool: Store instruction disassembly result > objtool: Disassemble instruction on warning or backtrace > objtool: Extract code to validate instruction from the validate branch > loop > objtool: Record symbol name max length > objtool: Add option to trace function validation > objtool: Trace instruction state changes during function validation > objtool: Improve register reporting during function validation > objtool: Identify the different types of alternatives > objtool: Add functions to better name alternatives > objtool: Improve tracing of alternative instructions > objtool: Do not validate IBT for .return_sites and .call_sites > objtool: Add the --disas= action > objtool: Preserve alternatives order > objtool: Print headers for alternatives > objtool: Disassemble group alternatives > objtool: Print addresses with alternative instructions > objtool: Disassemble exception table alternatives > objtool: Disassemble jump table alternatives > objtool: Fix address references in alternatives > objtool: Provide access to feature and flags of group alternatives > objtool: Function to get the name of a CPU feature > objtool: Improve naming of group alternatives > objtool: Compact output for alternatives with one instruction > objtool: Add wide output for disassembly > objtool: Trim trailing NOPs in alternative I've pushed out these patches to queue/objtool/core, however when building defconfig I get this: CC /mnt/hirez/usr/src/linux-2.6/defconfig-build/tools/objtool/librbtree.o arch/x86/special.c:10:10: fatal error: lib/cpu-feature-names.c: No such file or directory 10 | #include "lib/cpu-feature-names.c" | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. :-(