1. Jul 23, 2018
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_tsch · 933df441
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the necessary members.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      933df441
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_adapter_int · 27c0620c
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the necessary members.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      27c0620c
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_stcrw · 67faae15
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      the __field macro for the missing members.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      67faae15
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_tpi · 5925e819
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the members adapter_IO, isc and type
      of struct tpi_info.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      5925e819
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_interrupt · 661c959b
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the necessary fields.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      661c959b
  2. Jul 19, 2018
  3. Jul 18, 2018
  4. Jul 17, 2018
  5. Jul 16, 2018
  6. Jul 13, 2018
  7. Jul 06, 2018
  8. Jul 04, 2018
  9. Jul 02, 2018