diff options
author | Wang Nan <wangnan0@huawei.com> | 2016-04-20 20:59:48 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-04-28 14:58:58 +0200 |
commit | 3dcc4436fa6f09ce093ff59bf8477c3059dc46df (patch) | |
tree | 74053f598a114a1c21e2d72199083c2ff2ade9ea /Documentation/gdb-kernel-debugging.txt | |
parent | perf probe: Use strbuf for making strings (diff) | |
download | linux-3dcc4436fa6f09ce093ff59bf8477c3059dc46df.tar.xz linux-3dcc4436fa6f09ce093ff59bf8477c3059dc46df.zip |
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 <wangnan0@huawei.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1461178794-40467-2-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Documentation/gdb-kernel-debugging.txt')
0 files changed, 0 insertions, 0 deletions