aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/analyze_suspend.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/analyze_suspend.py b/scripts/analyze_suspend.py
index 383df79a13a6..20cdb2bc1dae 100755
--- a/scripts/analyze_suspend.py
+++ b/scripts/analyze_suspend.py
@@ -3846,6 +3846,7 @@ def addScriptCode(hf, testruns):
' function zoomTimeline() {\n'\
' var dmesg = document.getElementById("dmesg");\n'\
' var zoombox = document.getElementById("dmesgzoombox");\n'\
+ ' var left = zoombox.scrollLeft;\n'\
' var val = parseFloat(dmesg.style.width);\n'\
' var newval = 100;\n'\
' var sh = window.outerWidth / 2;\n'\
@@ -3853,12 +3854,12 @@ def addScriptCode(hf, testruns):
' newval = val * 1.2;\n'\
' if(newval > 910034) newval = 910034;\n'\
' dmesg.style.width = newval+"%";\n'\
- ' zoombox.scrollLeft = ((zoombox.scrollLeft + sh) * newval / val) - sh;\n'\
+ ' zoombox.scrollLeft = ((left + sh) * newval / val) - sh;\n'\
' } else if (this.id == "zoomout") {\n'\
' newval = val / 1.2;\n'\
' if(newval < 100) newval = 100;\n'\
' dmesg.style.width = newval+"%";\n'\
- ' zoombox.scrollLeft = ((zoombox.scrollLeft + sh) * newval / val) - sh;\n'\
+ ' zoombox.scrollLeft = ((left + sh) * newval / val) - sh;\n'\
' } else {\n'\
' zoombox.scrollLeft = 0;\n'\
' dmesg.style.width = "100%";\n'\
@@ -4068,7 +4069,7 @@ def addScriptCode(hf, testruns):
' window.addEventListener("load", function () {\n'\
' var dmesg = document.getElementById("dmesg");\n'\
' dmesg.style.width = "100%"\n'\
- ' document.onmousedown = onMouseDown;\n'\
+ ' dmesg.onmousedown = onMouseDown;\n'\
' document.onmouseup = onMouseUp;\n'\
' document.onkeypress = onKeyPress;\n'\
' document.getElementById("zoomin").onclick = zoomTimeline;\n'\
ons'>+1 2023-04-26RISC-V: hwprobe: There can only be one firstAndrew Jones1-1/+3 2023-04-26riscv: Allow to downgrade paging mode from the command lineAlexandre Ghiti10-9/+154 2023-04-26dt-bindings: riscv: add sv57 mmu-typeConor Dooley1-0/+1 2023-04-26tracing: Add missing spaces in trace_print_hex_seq()Ken Lin1-1/+4 2023-04-26ring-buffer: Ensure proper resetting of atomic variables in ring_buffer_reset...Tze-nan Wu1-3/+13 2023-04-26net: phy: hide the PHYLIB_LEDS knobPaolo Abeni1-3/+1 2023-04-26powerpc/64s: Disable pcrel code model on ClangNicholas Piggin1-1/+6 2023-04-26powerpc: Fix merge conflict between pcrel and copy_thread changesNicholas Piggin1-1/+1 2023-04-25RISC-V: hwprobe: Remove __init on probe_vendor_features()Evan Green3-6/+6 2023-04-25recordmcount: Fix memory leaks in the uwrite functionHao Zeng1-1/+5 2023-04-25tracing/user_events: Limit max fault-in attemptsBeau Belgrave1-14/+35 2023-04-25tracing/user_events: Prevent same address and bit per processBeau Belgrave2-1/+49 2023-04-25tracing/user_events: Ensure bit is cleared on unregisterBeau Belgrave2-3/+40 2023-04-25tracing/user_events: Ensure write index cannot be negativeBeau Belgrave2-0/+8 2023-04-25seq_buf: Add seq_buf_do_printk() helperSergey Senozhatsky2-0/+34 2023-04-25tracing: Fix print_fields() for __dyn_loc/__rel_locBeau Belgrave1-4/+6 2023-04-25tracing/user_events: Set event filter_type from typeBeau Belgrave1-0/+3 2023-04-25ring-buffer: Clearly check null ptr returned by rb_set_head_page()Zheng Yejian1-2/+3 2023-04-25rtla/timerlat: Fix "Previous IRQ" auto analysis' lineDaniel Bristot de Oliveira1-1/+1 2023-04-25rtla/timerlat: Add auto-analysis only optionDaniel Bristot de Oliveira2-5/+51 2023-04-25rv: Remove redundant assignment to variable retvalColin Ian King1-2/+0 2023-04-25rv: Fix addition on an uninitialized variable 'run'Colin Ian King1-1/+1