From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by sourceware.org (Postfix) with ESMTPS id 9FF213852C4D for ; Wed, 23 Nov 2022 06:15:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9FF213852C4D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-x52b.google.com with SMTP id f9so11756720pgf.7 for ; Tue, 22 Nov 2022 22:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3R+aDCnY2jElk+H1rcfWo0l+sfHVE1ZEA1I4it/WWtE=; b=p6eaiPl+brvECVnFMpsY99zUEnZte0z8xO0Likwvvmvk2srEbmGhVLx+An2AHWTKK4 IC+wqIOM1P/TyPn9EP8aRI55OeMbDz3kYh196+NeBCOEUGGw2RDhO9Bl+GON0q8ROC4G K8MbwdJnJ01SxXsKgP/fWWs2bunH4BM7A5gwIzJNq9zQxb0vKQxeQ4c60w5meLBfvrK4 UEt5EPtXH4TBAno70cUIwP0i2bGBe5cjX2EMTSwO4hBlo7tcujVmrc2byio01RQpyPO+ /KRZCCVX4wbEsf/dzd8MMq4iRX2DOm2Jk0wvlz4cEG5vUBQrVSOyuR9CNUyuhp6l/DbE mhbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3R+aDCnY2jElk+H1rcfWo0l+sfHVE1ZEA1I4it/WWtE=; b=YCUCq8t1LgvMwx9pmIjFq/+wkKXbedyJz4tmdsa4zjram2qPG7zA8VjIoJviRKXrKn Z4Le9wkIa7XBdbUzcrpGIbHcjg28ykSVqTSObYoRmmCCA6RQ5XKHQchFRVuK8FgLJsSk aGdAPVu+7azqDOX0zcBewb+ZaI9Va5yCo8U+Xf5vTFJOGOmhDbmiwMi9SjjBFApYDaxn PeowIePRJuqDFcN/41O2nbvSZW3wZpIBk9cDBNyjxqsRfhW4AnXOohQXjD96xUDIKw5O p+aH6/mbn4u8Ke3+I2ZfcpElLBq1UroM87VWLezg2oR2WfswrYa9+1CKC5lOIFtsyy8G I0DQ== X-Gm-Message-State: ANoB5pnjagWsebNU/Ieek3CJK75bGBCdNBpG5NbT6h+i6MW7/6io3eY4 GY7ltFKx9wbde6+q8N0CISY= X-Google-Smtp-Source: AA0mqf7/GETgxts6jge0FCOJ8J/cSVfipJliaMpFLxB564WrW7XQQp2VuQsmmKFCkDzRVFLV8ho+kw== X-Received: by 2002:a63:4087:0:b0:477:15c8:ff67 with SMTP id n129-20020a634087000000b0047715c8ff67mr9243371pga.275.1669184146853; Tue, 22 Nov 2022 22:15:46 -0800 (PST) Received: from ?IPV6:2601:681:8600:13d0::99f? ([2601:681:8600:13d0::99f]) by smtp.gmail.com with ESMTPSA id o136-20020a62cd8e000000b00565cf8c52c8sm12055979pfg.174.2022.11.22.22.15.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Nov 2022 22:15:46 -0800 (PST) Message-ID: <9c75978b-b7db-2a3e-f6f4-a2ff357387eb@gmail.com> Date: Tue, 22 Nov 2022 23:15:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [EXTERNAL] Re: [PATCH] Fix autoprofiledbootstrap build Content-Language: en-US To: Eugene Rozenfeld , "gcc-patches@gcc.gnu.org" , Andi Kleen References: <5d17b0fc-e7b3-c00d-4a5b-6af78836b2b6@gmail.com> From: Jeff Law In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 11/22/22 14:20, Eugene Rozenfeld wrote: > I took another look at this. We actually collect perf data when building the libraries. So, we have ./prev-gcc/perf.data, ./prev-libcpp/perf.data, ./prev-libiberty/perf.data, etc. But when creating gcov data for -fauto-profile build of cc1plus or cc1 we only use ./prev-gcc/perf.data . So, a better solution would be either having a single perf.data for all builds (gcc and libraries) or merging perf.data files before attempting autostagefeedback. What would you recommend? ISTM that if neither approach loses data, then they're functionally equivalent -- meaning that we can select whichever is easier to wire into our build system. A single perf.data might serialize the build.  So perhaps separate, then merge right before autostagefeedback. But I'm willing to go with whatever you think is best. Jeff