Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4819581pxj; Tue, 22 Jun 2021 08:40:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxDDFhDlO6NGar7ujUOA7A9p/g/dGEBkrT0m9/70lQVTL1YS2prpVGRo0AbNZf0Bv6nFbh X-Received: by 2002:a02:641:: with SMTP id 62mr4526804jav.125.1624376459388; Tue, 22 Jun 2021 08:40:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624376459; cv=none; d=google.com; s=arc-20160816; b=os+G7BHrfq32xGsYb/BTdanzCn3K8T4ea4ryZ7sraWURUdtNVeXT8z5rr+gd4eNwEb 3HLfgvh5S1SMDcr4GfgluUVyGBjqshsGTdH+0T1NZdqDK3VTG26wDVH+lWf0DIX3TaAy 0iGS3KmTYpO1Kf7Y8goPWkyADhBiPGh77p+fp9gdVcE9IW1tgySua+l9zT3jHIEfF9hf CaiwCy5AR210HjpmziLyW3CKl0WWcHh3SqoehYQlMt4lkHvsPpR4H5U4MwYlY5unKmJS +8Pio5M9g1HNLLwW/5uGE54SPX2CWgHKH1D37Fb0Ou9zcja24aySEs12Qmf2MNRdXxmc y5PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6ysfsv8h5v9t/4/segUsBxbWl85Eh2nMCyITuBj3+NA=; b=QJHuLMJiY0tNgrvbQhYAs8rLOC+QckRsEnKB2mb6cZqoAzgvBF/MhV3Clc85rQjXIi BfN2GNGLx7G8MqlQF/n+ACA/NQFgpT5ShviptVs3UoMi/gRg6phCmnHBppmqOoItuw6b QaUY7bP03dQ15wRPagg5CYT3NQRDH0dEKDiW3Zn/zYMZExxVf9bnOgLvab03iMehVriM Ftc2e9Mk3f9B7lsl7qRxYblJYY0chMarnRJ+ICdTYJBwRGvk80c6RZAa93iaotBf/NfW ham2yh87VK0NvChxgcbhptGHB4WnKODpy+P4Y1ZtH7tfPxrTCz5AjGtovzoL4cve3W0L rh+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Ryux/8cZ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si23392698jae.125.2021.06.22.08.40.47; Tue, 22 Jun 2021 08:40:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Ryux/8cZ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232317AbhFVPmA (ORCPT + 99 others); Tue, 22 Jun 2021 11:42:00 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:55236 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232051AbhFVPlv (ORCPT ); Tue, 22 Jun 2021 11:41:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624376374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6ysfsv8h5v9t/4/segUsBxbWl85Eh2nMCyITuBj3+NA=; b=Ryux/8cZqx7YOzPwxyRhCoD1MkJOWIvLM5M10kfw/8iGx3S8vXJcvu/6ic0FV/VSEKbH4D +k0pl2LLHviqG5oL0fwgBdhgCTMCNzg7z92j/ihZunCDlkrfotXsvRqUequqYFie3Yan54 291oD2x18IeLl1nbzFhegqLpAhki1AM= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-550-wqyjl9zmN_-NrYm68sfdVg-1; Tue, 22 Jun 2021 11:39:33 -0400 X-MC-Unique: wqyjl9zmN_-NrYm68sfdVg-1 Received: by mail-wm1-f70.google.com with SMTP id g14-20020a05600c4eceb02901b609849650so855638wmq.6 for ; Tue, 22 Jun 2021 08:39:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6ysfsv8h5v9t/4/segUsBxbWl85Eh2nMCyITuBj3+NA=; b=c6/B77WcGW6utmP5R5h9EArI+Q0DSdptUkZJrWVYhiOj4EZZmzV8/W3AV7ypAbEhov wMGx5D5VEtB6kw5IHm/66Wme96V34AGvgqCjlYlOJL4kAPDAxojqNOgw+28IEldmDfve 9saTAigDluHhVVN3O1SUEBkkECpisXVH4qcrm39IiHj1FNH7LwvOHUiCFNWOp17WzaMO OTunzrQHbGb1drknEeBw53oah+GJKViGwPzWzjZW8pdj5/6HG4BKrssf4Oqs/2cYMo9/ xZrxRYRP+zVTvMCUVnR6U9xTGcp6c4M2NZEJx1nCtJonDLcdpuedUznWsWVbmism/ahi rKFw== X-Gm-Message-State: AOAM530UX6nmnK5XM2yhW2JANYuanwpo0KHcKKBpANOXSEq5i6MyJnEg C/Ecqx13vraCVzD1JJLA2T8YzVatY4AjifrbgeqOD+1wY1yuKNLrUjmKYLwKeVSjdDm3zcd6CFg Cnp8W9CSihz1pI4ApUqEx3KwB X-Received: by 2002:a5d:698a:: with SMTP id g10mr5430829wru.129.1624376372164; Tue, 22 Jun 2021 08:39:32 -0700 (PDT) X-Received: by 2002:a5d:698a:: with SMTP id g10mr5430816wru.129.1624376372048; Tue, 22 Jun 2021 08:39:32 -0700 (PDT) Received: from krava.redhat.com ([5.171.243.0]) by smtp.gmail.com with ESMTPSA id e3sm11647962wro.26.2021.06.22.08.39.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 08:39:31 -0700 (PDT) From: Jiri Olsa X-Google-Original-From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Namhyung Kim , Alexander Shishkin , Michael Petlan , Ian Rogers Subject: [PATCH 05/10] tools: Sync perf_event.h uapi Date: Tue, 22 Jun 2021 17:39:13 +0200 Message-Id: <20210622153918.688500-6-jolsa@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210622153918.688500-1-jolsa@kernel.org> References: <20210622153918.688500-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update tools uapi headers with latest changes. Signed-off-by: Jiri Olsa --- tools/include/uapi/linux/perf_event.h | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h index f92880a15645..e742c8f43a18 100644 --- a/tools/include/uapi/linux/perf_event.h +++ b/tools/include/uapi/linux/perf_event.h @@ -296,16 +296,20 @@ enum { * * struct read_format { * { u64 value; - * { u64 time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED - * { u64 time_running; } && PERF_FORMAT_TOTAL_TIME_RUNNING - * { u64 id; } && PERF_FORMAT_ID + * { u64 time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED + * { u64 time_running; } && PERF_FORMAT_TOTAL_TIME_RUNNING + * { u64 id; } && PERF_FORMAT_ID + * { u64 build_id_faults; } && PERF_FORMAT_BUILD_ID_FAULTS + * { u64 lost; } && PERF_FORMAT_LOST * } && !PERF_FORMAT_GROUP * * { u64 nr; - * { u64 time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED - * { u64 time_running; } && PERF_FORMAT_TOTAL_TIME_RUNNING + * { u64 time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED + * { u64 time_running; } && PERF_FORMAT_TOTAL_TIME_RUNNING * { u64 value; - * { u64 id; } && PERF_FORMAT_ID + * { u64 id; } && PERF_FORMAT_ID + * { u64 build_id_faults; } && PERF_FORMAT_BUILD_ID_FAULTS + * { u64 lost; } && PERF_FORMAT_LOST * } cntr[nr]; * } && PERF_FORMAT_GROUP * }; @@ -315,8 +319,10 @@ enum perf_event_read_format { PERF_FORMAT_TOTAL_TIME_RUNNING = 1U << 1, PERF_FORMAT_ID = 1U << 2, PERF_FORMAT_GROUP = 1U << 3, + PERF_FORMAT_BUILD_ID_FAULTS = 1U << 4, + PERF_FORMAT_LOST = 1U << 5, - PERF_FORMAT_MAX = 1U << 4, /* non-ABI */ + PERF_FORMAT_MAX = 1U << 6, /* non-ABI */ }; #define PERF_ATTR_SIZE_VER0 64 /* sizeof first published struct */ -- 2.31.1