aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-06-27 10:53:54 +0200
committerGreg Kroah-Hartman <[email protected]>2022-06-27 13:51:08 +0200
commitdf8d0a55047b57074ac69db795a9775b3abe364e (patch)
treec79855738ef737a0401c2a327d476c65697fd09e /tools/perf/scripts/python/intel-pt-events.py
parent1b0a54b3e83f67cade6e510f43804ac7ab4c0bb9 (diff)
staging: r8188eu: make power sequences static
Simplify the handling of "power sequences". At the moment, this is rather complicated: The hal layer calls HalPwrSeqCmdParsing. This function takes a pointer to a power sequence. The sequences themselves are defined as global variables in a separate file. There's an alias for each sequence, the callers of HalPwrSeqCmdParsing use these aliases instead of the sequences themselves. There's no point in passing the sequences around. We can move the sequences into the same file as the HalPwrSeqCmdParsing function where they are used. Callers of HalPwrSeqCmdParsing can refer to a sequence by using a numeric define rather than a pointer to the sequence. Signed-off-by: Martin Kaiser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions