aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-08-27 09:12:27 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-08-30 17:49:23 +0000
commit969558371bf926258241727ebb994f516f2e6f61 (patch)
tree7471dca1cfa209eb41989054b121ce940d8b92b5 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentperf/hw_breakpoint: Remove superfluous bp->attr.disabled = 0 (diff)
downloadkernel-969558371bf926258241727ebb994f516f2e6f61.tar.gz
kernel-969558371bf926258241727ebb994f516f2e6f61.zip
perf/hw_breakpoint: Enable breakpoint in modify_user_hw_breakpoint
Currently we enable the breakpoint back only if the breakpoint modification was successful. If it fails we can leave the breakpoint in disabled state with attr->disabled == 0. We can safely enable the breakpoint back for both the fail and success paths by checking the bp->attr.disabled, which either holds the new 'requested' disabled state or the original breakpoint state. Suggested-by: Oleg Nesterov <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> Acked-by: Oleg Nesterov <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: David Ahern <[email protected]> Cc: Milind Chabbi <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions