diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-12 10:21:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-12 10:21:19 -0700 |
commit | cb098d50ecc0a4729507ddcc7f4ae98c3703fadd (patch) | |
tree | 444db3ac525576f4ac3e9779c449e403eb5db4c6 /drivers/misc | |
parent | 07820c3bf17822361b25f1015125fd407d9925ed (diff) | |
parent | 2cf2f0d5b91fd1b06a6ae260462fc7945ea84add (diff) | |
download | linux-cb098d50ecc0a4729507ddcc7f4ae98c3703fadd.tar.gz linux-cb098d50ecc0a4729507ddcc7f4ae98c3703fadd.tar.bz2 linux-cb098d50ecc0a4729507ddcc7f4ae98c3703fadd.zip |
Merge tag 'for_linus-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb
Pull kdb updates from Jason Wessel:
- fix 2032 time access issues and new compiler warnings
- minor regression test cleanup
- formatting fixes for end user use of kdb
* tag 'for_linus-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb:
kdb: use memmove instead of overlapping memcpy
kdb: use ktime_get_mono_fast_ns() instead of ktime_get_ts()
kdb: bl: don't use tab character in output
kdb: drop newline in unknown command output
kdb: make "mdr" command repeat
kdb: use __ktime_get_real_seconds instead of __current_kernel_time
misc: kgdbts: Display progress of asynchronous tests
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/kgdbts.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c index 24108bfad889..6193270e7b3d 100644 --- a/drivers/misc/kgdbts.c +++ b/drivers/misc/kgdbts.c @@ -400,10 +400,14 @@ static void skip_back_repeat_test(char *arg) int go_back = simple_strtol(arg, NULL, 10); repeat_test--; - if (repeat_test <= 0) + if (repeat_test <= 0) { ts.idx++; - else + } else { + if (repeat_test % 100 == 0) + v1printk("kgdbts:RUN ... %d remaining\n", repeat_test); + ts.idx -= go_back; + } fill_get_buf(ts.tst[ts.idx].get); } |