aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2021-07-09 14:52:16 -0300
committerArnaldo Carvalho de Melo <[email protected]>2021-07-09 15:33:39 -0300
commite2c18168c373c92de476b5592807169941a153f5 (patch)
tree8317a0670f8b5bbb5fd8b7d96dcbc7e6b2dba783 /scripts/gdb/linux/timerlist.py
parent3fd35de1686bf809431c5f0137de8eee5a2811d6 (diff)
libperf: Remove BUG_ON() from library code in get_group_fd()
We shouldn't just panic, return a value that doesn't clash with what perf_evsel__open() was already returning in case of error, i.e. errno when sys_perf_event_open() fails. Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Shunsuke Nakamura <[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/timerlist.py')
0 files changed, 0 insertions, 0 deletions