aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-06-07 23:18:11 -0700
committerArnaldo Carvalho de Melo <[email protected]>2023-06-14 18:19:06 -0300
commitf4c0d5309a3e5f16ca3c3854b1e719dace843e03 (patch)
tree131f4cac5ffe7bf9e665477ba441d4de31572aca /scripts/gdb/linux/interrupts.py
parent99d4850062a84564f36923764bb93935ef2ed108 (diff)
tools api: Add simple timeout to io read
In situations like reading from a pipe it can be useful to have a timeout so that the caller doesn't block indefinitely. Implement a simple one based on poll. Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Yang Jihong <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions