aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2016-07-01 23:08:54 +0200
committerJacek Anaszewski <[email protected]>2016-07-04 08:51:37 +0200
commita3eac76cdf7225aa1f87aa4514664f0372b9a1c1 (patch)
treef42b457060a20c98a31961d8de632db66336928f /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb1ae40a5db6191c42e2e45d726407096f030ee08 (diff)
leds: triggers: return error if invalid trigger name is provided via sysfs
If an invalid trigger name is provided via sysfs currently no error is returned. Therefore it's not possible to determine whether the trigger was set successfully. Fix this by returning -EINVAL if no trigger is matched. Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions