[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3] Eclair: scan the last xen-syms linking pass on Arm


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Dmytro Prokopchuk1 <dmytro_prokopchuk1@xxxxxxxx>
  • Date: Tue, 13 Oct 2026 08:02:17 +0000
  • Accept-language: en-US, uk-UA, ru-RU
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dXrJvms2a1fUMsTZGoIsoOJgrnt9gqkfUisB09F6mIQ=; b=GYCltpehfsEOluG2AqZhcAC2eiCLJqFfDbSIV5RLrrEx/LsjKHoWMDN98wjsGF2dumw1CZYb54h430nC7Xinbf9yxeRAZL00oBoCU+wcNXrJ/wFlSU6O5wHaUn2lGYK4VNNCSa57zgs8lUk1npZgxGhqTBVto5M+P1PgRFphso8kD+caq5Z3YxCLOaL/KTQvaqWJs3PsHoR3+gaLKWUcXwk8gIxEvLupBDG6UkmIMFCw7/Lb5U4pf2dgluI+FG5ThiEOtyo4NbeGk7I4e0M12cR8Z9fWmjxCBEmc/wNXPkme4zbnUUWuuBDxYYTTKgw6gJrMTzPK9o8OlG9qo6q9Ig==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iwuNHAoOTWaZ87U75jEd5aJmljP5qoE/McafoLsoENsdi21QaX4XC3N7YHX6Mr+Hds1Tx396B94eAdQWtwF26M8uGD1zVfNLJu/hU4VfZUahMSsZyjGodcfpbJdKZa/oaXYxQ5s81NO2cUnPBrJFO3FXS7Q/8yo/e/XRx6/5BNmEfKvALnxKwNG6r1TBHTus9jy9/IR8utkoTsNrMO21fR/GYEIw9CHg2GRqVz4sn1OTg+S4EV/qcSHJLnAWZDG8KRKI9n4K+2f1xyCJO0SV6RH3YQu63L7vggW9VNpLWQTKXS/jzvSuE1HigV4SM52xwBYdUwkJz8rRcD2hbzhEUg==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=epam.com header.i="@epam.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:x-ms-exchange-senderadcheck"
  • Authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 13 Oct 2026 08:02:30 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHdWose+3ny6aV1J0Gq+fH4413ZRLb7GmuAgAAC0QA=
  • Thread-topic: [PATCH v3] Eclair: scan the last xen-syms linking pass on Arm


On 10/13/26 10:52, Jan Beulich wrote:
> On 12.10.2026 22:49, Dmytro Prokopchuk1 wrote:
>> --- /dev/null
>> +++ b/automation/eclair_analysis/ECLAIR/generate-xen-syms-passes.sh
> 
> You neatly use dashes in the new file's name here. Is there a reason ...
> 
>> @@ -0,0 +1,20 @@
>> +#!/bin/bash
>> +
>> +# Hide every xen-syms linking pass except LAST_LINKING_PASS.
>> +# The pass list is the foreach in xen/scripts/Makefile.link.
>> +
>> +set -e
>> +
>> +cd "$(dirname "$0")"
>> +arch=$(echo "${XEN_TARGET_ARCH}" | sed -e 's/x86.*/x86/' -e 's/arm.*/arm/')
>> +last=$(sed -n 's/^LAST_LINKING_PASS *:= *\([0-9]\).*/\1/p' \
>> +    "../../../xen/arch/${arch}/Makefile" | head -n 1)
>> +passes=$(sed -n 's/.*foreach n,\([0-9 ]*\).*/\1/p' \
>> +    ../../../xen/scripts/Makefile.link | head -n 1)
>> +test -n "${last}"
>> +test -n "${passes}"
>> +hidden=$(printf '%s' "${passes}" | tr -d " ${last}")
>> +
>> +printf '%s\n' \
>> +    "-file_tag+={xen_syms_tmp, \"^xen/\\\\.xen-syms\\\\.[${hidden}]\$\"}" \
>> +    >xen_syms_passes.ecl
> 
> ... underscores are used here?
> 
> Jan

The generated file follows the other .ecl names (e.g. 
linker_symbols.ecl). The script name follows generate-linker-symbols.sh, 
which also uses dashes and writes an .ecl file with underscores.

BR,
Dmytro

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.