From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) (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 CD0A0283FF9 for ; Wed, 18 Feb 2026 19:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771443311; cv=none; b=lYwUSvg6V09Yshe/lbd4JQh1NjFXdYPGi/ZgChqlNWWvsYFFwnWfKG/jg2WaP4W0DV6uQi9R0Bi1Z0dWyJm84NzNWBHHIUxqCuP2ECMDZMfTqs2oRoUqBZDUPsQYDC+avGL8XmI+YT+OJz7ITD9LRoZJG2C92N1oR0b4OM0ZpEI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771443311; c=relaxed/simple; bh=C3q/8shqeVxsdnoQHUG5G3hcuu+YZ2yEYKpHyXxqjOM=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=mYekoFHeEqBAIICT4/kCUbbPGyppX9zZyEbeCQAkdNKv3vubnMt79Tx1fIGYYLo5Z90027bmCmikXssGgAdDRIbqJ3i9ZwjKwC8D0L38YQr1xVchtKzzuI703E9VJH5T7csqhrqxtlNwDkQD1EVM+RuIypE2+YxJIGaZiqBfpo4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=N5hLAiEZ; arc=none smtp.client-ip=209.85.221.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N5hLAiEZ" Received: by mail-vk1-f173.google.com with SMTP id 71dfb90a1353d-5674d8be45eso89203e0c.1 for ; Wed, 18 Feb 2026 11:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771443309; x=1772048109; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=2io8NNQZ9JLqtJXNSEpwjHcVOKsz7V5EPNa9d73MIa8=; b=N5hLAiEZ0w7iw/u1R1vDLbRculHiN25rfexE6f8OcBUf8n6/or1vb4VpNL8mylgpif cXOc6cIyJM9ZlK0PQwb/S2NB5GVvLJhfFrM23ExtL5hThiLkSgEzAbxs+DdTWqO+/u4Y 4mlcUyeqTMBEWtEm5E4efYk/z+Bp3m1+y/XD0/9sypLHMqTtgcqvN/3alyZsSgCEMApv cUGN2NWWxan3lLZ176f5qaDAMWGwbxKUZQ0smz5icBnDEHR5r+yAgCJH5KfAausvLPF4 Sd1+GENQIGMa8XqS3coF8cJA9fX+O1uHF+tp8C11Iss8vC0YNz++rgsyceSo2NpmuYjf ANUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771443309; x=1772048109; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2io8NNQZ9JLqtJXNSEpwjHcVOKsz7V5EPNa9d73MIa8=; b=gtgrVS0XyepaypoxtN5zPFUUo2CUY01YBArFWDb5+/fDWpM+Etjezvkgb4nvj2YoKy CI/roi2BPGrjGqnwKnCptHuw1mJMSoJ1nmkQKMyIEmfEE7d1GMDC/BCpVCMK+6V8s7D1 UuuzRZ6EYggaZiqT8UtnjAM54wgA2VaZj0Xj05auP2ge2eJMT96z13gEFLxAiqKKitmA JfnwHH8fwOq7h7KWaNmdqZ6l/azvrOb6kK9um3dvh9cvr6lsNVecMzOU5kAws68v1XRe siauvC+1ufESKVn73N4If4fvHNGb0HHm2D3gvx4ysyDrcLxWorjMJpzgkkWkNpe8QkDP imQw== X-Gm-Message-State: AOJu0YydtYY7ougY50kuJegN7BalOh4DhPnt/32RXL1dJwJRktwp8HTK YD4sTuHwWQ0aGb4CblDg+Nzdzu0tYSJ7DnmbB5/CZDlSr8eq77tdiISA X-Gm-Gg: AZuq6aJ2v3NDCNowTb13i+BGQpN2oCoJ8CSJ36O/LkZW/f1U5s/DhXsxBFSCwJ3PCcs g1+8ugtUJvR9Qa9fp19/Q0JqBSSFDLLZIj2gyT06FA16ypbgwUKztwnodBqmtSnhqe094k610C3 WHv8gCT3ICUlcU3VmRZ+IwFEHmP/lGtyIwOwJ00won3Wa3XZ1CxekdrRX/pdCq5fO9454ZBCahA 5g6k3wXUf+g8iPZ4mwXpGHSDPo9zJhgFB2LW6tpBsFc8/ZcanD+yLnjQ46ba5wOlPvI1GYsb0Lt eWTJTvWklnoydzsF9b/IVptOpDgy/JXyRUqGfz8YEHE37drnoBXjGMdan7xyNwRuh/t2nm+GjO/ ADDmpCyLk+wLrmG0Gq85ImA7/G1lDRUkZsAjeBCo/WS6uALyqlNISJ3YSxa+WQUqisPW2ADXyWY lxmIiqC0qPAfS6DbiCbW1gxgOFisTwZ7Tloe8d X-Received: by 2002:a05:6122:6608:b0:567:516f:256c with SMTP id 71dfb90a1353d-568bf5f028cmr1265941e0c.16.1771443308691; Wed, 18 Feb 2026 11:35:08 -0800 (PST) Received: from ehlo.thunderbird.net ([186.208.68.154]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5674c01d31asm11777667e0c.9.2026.02.18.11.35.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Feb 2026 11:35:07 -0800 (PST) Date: Wed, 18 Feb 2026 16:34:33 -0300 From: Arnaldo Melo To: David Ahern , Arnaldo Carvalho de Melo , Namhyung Kim CC: LKML , Jiri Olsa Subject: Re: perf-trace: improving ioctl details User-Agent: Thunderbird for Android In-Reply-To: <4babff5e-5a27-4e3b-b9c6-16fd2781af35@kernel.org> References: <4babff5e-5a27-4e3b-b9c6-16fd2781af35@kernel.org> Message-ID: 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=utf-8 Content-Transfer-Encoding: quoted-printable On February 18, 2026 2:09:26 PM GMT-03:00, David Ahern wrote: >Hi Arnaldo, Namhyung: > >I have a couple of patches to perf-trace to improve the details on ioctl >calls=2E The first one tracks stats by individual filenames, and for the >summary output prints the ioctl stats per filename=2E > Looks interesting! >The second patch improves the output for the _IOC_NR element of the op >argument=2E For flexibility across kernel versions and drivers, it adds >the ability to read input files that contain the conversion from number >to human readable name=2E The files (if the option is set) are parsed at >start up=2E In addition to the summary, the cache is also used to improve >the readability of each ioctl line=2E > >Questions for you: >1=2E is such an open ended design acceptable for perf-trace? Is it lazy, i=2Ee=2E only when needed this cache/table gets loaded?=20 > >2=2E if yes, is there any preference on file format (json, yaml, >key-value, =2E=2E=2E)? We already have JSON parsing infra, so probably that is better?=20 Great to see you contributing to perf again!=20 - Arnaldo > >Thanks, >David - Arnaldo