diff options
| author | Sourabh Jain <[email protected]> | 2019-12-11 21:39:06 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-02-19 21:07:09 +1100 |
| commit | 9255782f70614c89b1a15ec6997c4b72ce9e630a (patch) | |
| tree | e170801c0010faf3b1fed320fedcf7c52d01b25f /tools/perf/scripts/python | |
| parent | f52153ab383f04a45c38d8a7f55a4249477b20df (diff) | |
sysfs: Wrap __compat_only_sysfs_link_entry_to_kobj function to change the symlink name
The __compat_only_sysfs_link_entry_to_kobj function creates a symlink
to a kobject but doesn't provide an option to change the symlink file
name.
This patch adds a wrapper function compat_only_sysfs_link_entry_to_kobj
that extends the __compat_only_sysfs_link_entry_to_kobj functionality
which allows function caller to customize the symlink name.
Signed-off-by: Sourabh Jain <[email protected]>
[mpe: Fix compile error when CONFIG_SYSFS=n]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions