diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2024-06-05 18:18:53 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-06-17 21:42:57 +0300 |
commit | 0e6a35b93745bb2d8b921fd0520ef730489d41a2 (patch) | |
tree | 5ae6dc8aab7dc9d527a3298de1479093b457c9cd /tools/perf/scripts/python/task-analyzer.py | |
parent | 614dc0fb76327dbd81abd4612fbc2e4ba8f205e6 (diff) | |
download | linux-0e6a35b93745bb2d8b921fd0520ef730489d41a2.tar.xz |
fs/configfs: Add a callback to determine attribute visibility
In order to support dynamic decisions as to whether an attribute should be
created, add a callback that returns a bool to indicate whether the
attribute should be displayed. If no callback is registered, the attribute
is displayed by default.
Co-developed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/e555c8740a263fab9f83b2cbb44da1af49a2813c.1717600736.git.thomas.lendacky@amd.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions