Commit db08c53fdd542bb7f83b ("scripts/gdb: fix parameter handling in $lx_per_cpu") changed the parameter handling of lx_per_cpu to use GdbValue instead of parsing the variable name. Update the documentation to reflect the new lx_per_cpu usage. Update the hrtimer_bases example to use rb_tree instead of the timerqueue_head.next pointer removed in commit 511885d7061eda3eb1fa ("lib/timerqueue: Rely on rbtree semantics for next timer").
Showing the changes to scripts (1 of 4 files). Show all
Unified · Split
| @@ -141,7 +141,7 @@ LxCpus() · 140 unmodified lines | ||
| 141 | 141 | class PerCpu(gdb.Function): |
| 142 | 142 | """Return per-cpu variable. |
| 143 | 143 | |
| 144 | −$lx_per_cpu("VAR"[, CPU]): Return the per-cpu variable called VAR for the | |
| 144 | +$lx_per_cpu(VAR[, CPU]): Return the per-cpu variable called VAR for the | |
| 145 | 145 | given CPU number. If CPU is omitted, the CPU of the current context is used. |
| 146 | 146 | Note that VAR has to be quoted as string.""" |
| 147 | 147 | |
| @@ -158,7 +158,7 @@ PerCpu() · 10 unmodified lines | ||
| 158 | 158 | class PerCpuPtr(gdb.Function): |
| 159 | 159 | """Return per-cpu pointer. |
| 160 | 160 | |
| 161 | −$lx_per_cpu_ptr("VAR"[, CPU]): Return the per-cpu pointer called VAR for the | |
| 161 | +$lx_per_cpu_ptr(VAR[, CPU]): Return the per-cpu pointer called VAR for the | |
| 162 | 162 | given CPU number. If CPU is omitted, the CPU of the current context is used. |
| 163 | 163 | Note that VAR has to be quoted as string.""" |
| 164 | 164 | |