diff options
| author | Heikki Krogerus <[email protected]> | 2017-03-21 13:56:46 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-23 13:48:44 +0100 |
| commit | e1fe7b6a7b376bfb54558725ddb2a89aaaa4adcc (patch) | |
| tree | 2f0f4a94cdb3c915aeb1fdbb60c1753868107743 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 8b373ffc797713337f42f0e58d832d5cae86752c (diff) | |
lib/string: add sysfs_match_string helper
Make a simple helper for matching strings with sysfs
attribute files. In most parts the same as match_string(),
except sysfs_match_string() uses sysfs_streq() instead of
strcmp() for matching. This is more convenient when used
with sysfs attributes.
Signed-off-by: Heikki Krogerus <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Reviewed-by: Felipe Balbi <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions