diff options
| author | Greg Hackmann <ghackmann@google.com> | 2014-12-08 10:08:35 -0800 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:53:01 -0800 |
| commit | 479449ecf2d12bc11762c4a2400aff04efaf182e (patch) | |
| tree | f700dd0fa1250c9bdedf3a6d87a9ad3adb3d4418 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 0be8516aaa8e1367beb1a401f8a4ed559f8b15b4 (diff) | |
cpufreq: interactive: hold reference on global cpufreq kobject if needed
2361be23666232dbb4851a527f466c4cbf5340fc changed cpufreq to add the
global cpufreq kobject to sysfs on demand.
To ensure this happens, cpufreq_interactive must hold a reference on
this object on devices where it intends to use it (i.e., devices where
have_governor_per_policy() returns false). Otherwise a parentless
kobject will be passed to sysfs_create_group() which will subsequently
BUG().
Change-Id: I7dd03956e1d3c6c3c0cc17c799882c235804ae09
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
