[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Crash-utility] [PATCH v2 00/25] support hiding data of offline cpu



For those who don't care about the removed cpu, data of offline cpu is
bothering. This patchset is trying to hide data of offline cpu. Please
check each patch to see what is hiden.

The last version is here:
https://www.redhat.com/archives/crash-utility/2014-September/msg00000.html

Changelog:
v1->v2:
1. patch 1: add environment variable and its argument to hide/show
   data of offline cpu.
2. add description of environment variable to crash.8
3. remove the restrict of x86_64
4. add "<OFFLINE>" to indicate those hiden data.
5. patch 22/23: addd "<OFFLINE>" to indicate idle task on offline
   cpu

Qiao Nuohan (25):
  add a flag to display/hide data of offline cpus
  add an API to check whether to hide a cpus' data
  x86_64: modify help -m/-M to hide offline cpus' data
  x86_64: modify bt -E to hide offline cpus' data
  x86_64: modify mach to hide offline cpus' data
  x86_64: modify mach -c to hide offline cpus' data
  modify help -r to hide offline cpus' registers
  modify bt -c to hide offline cpus' data
  modify display_sys_stats() to hide cpus' number
  modify help -k to hide offline cpus' number
  modify set -c to hide offline cpu
  modify irq -s to hide offline cpus' data
  modify irq -a to hide offline cpus' data
  modify timer -r to hide offline cpus' data
  modify timer to hide offline cpus' data
  modify ptov offset:cpuspec to hide offline cpus' data
  fix max_cpudata_limit() when offlined cpu exists
  modify kmem -o to hide offline cpus' data
  modify kmem -S(SLUB) to hide offline cpus' data
  modify struct/union/* [:cpuspec] to hide offline cpus' data
  modify command p to hide offline cpus' data
  modify ps to indicate idle task on offline cpu
  modify print_task_header() to indicate idle task on offline cpu
  modify ps -l/-m -C cpu to hide offline cpus' data
  modify runq to hide offline cpus' data

 crash.8    |  4 +++
 defs.h     |  3 ++
 diskdump.c |  6 +++-
 help.c     |  6 ++++
 kernel.c   | 83 +++++++++++++++++++++++++++++++++++++++++++++++++----
 main.c     | 15 +++++++++-
 memory.c   | 30 +++++++++++++++----
 netdump.c  | 25 ++++++++++++++--
 symbols.c  | 15 +++++++++-
 task.c     | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 tools.c    | 15 ++++++++++
 x86_64.c   | 74 +++++++++++++++++++++++++++++++++++++++--------
 12 files changed, 331 insertions(+), 42 deletions(-)

-- 
1.8.5.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]