diff options
author | Thomas Gleixner <[email protected]> | 2016-11-22 21:15:59 +0000 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-11-24 21:58:31 +0100 |
commit | a74f43675790ae55b908940652b4b04b236d8f18 (patch) | |
tree | d189b5b172644d771f5053c36a2dae80e84f5a7b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bed5ab6375cd556d93661bbcea0d18c109c50df1 (diff) |
powercap/intel_rapl: Propagate error code when registration fails
If rapl_package_register_powercap() fails in rapl_add_package() the
function happily returns 0.
Capture the error code and propagate it.
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Jacob Pan <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions