aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPaul Walmsley <[email protected]>2011-07-10 05:56:54 -0600
committerPaul Walmsley <[email protected]>2011-07-10 05:56:54 -0600
commit32a363c0f5b44cb4e9adfe238dfc4efa9270f7ae (patch)
tree85ce4e4b5aceea3515dffc9e79448ac5088d312d /tools/perf/util/scripting-engines/trace-event-python.c
parent113a74137f5c85f2c7914e78350f70247ef9447c (diff)
OMAP2+: clockdomain: add clkdm_in_hwsup()
Add a new function, clkdm_in_hwsup(), that returns true if a clockdomain is configured for hardware-supervised idle. It does not actually read the hardware; rather, it checks an internal flag in the struct clockdomain, which is changed when the clockdomain is switched in and out of hardware-supervised idle. This should be safe, since all changes to the idle mode should pass through the clockdomain code. Based on a set of patches by Rajendra Nayak <[email protected]> which do the same thing by checking the hardware bits. This approach should be faster and more compact. Signed-off-by: Paul Walmsley <[email protected]> Cc: Rajendra Nayak <[email protected]> Cc: Todd Poynor <[email protected]> Cc: BenoĆ®t Cousson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions