diff options
author | Wang Nan <[email protected]> | 2016-04-20 18:59:48 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-28 09:58:58 -0300 |
commit | 3dcc4436fa6f09ce093ff59bf8477c3059dc46df (patch) | |
tree | 74053f598a114a1c21e2d72199083c2ff2ade9ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 909b0360ae358f212f526e171ea4ef433b1b4103 (diff) |
perf tools: Introduce trigger class
Use 'trigger' to model operations which need to be executed when an
event (a signal, for example) is observed.
States and transits:
OFF--(on)--> READY --(hit)--> HIT
^ |
| (ready)
| |
\_____________/
is_hit and is_ready are two key functions to query the state of a
trigger. is_hit means the event already happen; is_ready means the
trigger is waiting for the event.
Signed-off-by: Wang Nan <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions