aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/trace/diag.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-05 07:50:04 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-09 03:10:47 -0500
commit230ccb370f8f95b2600a1fce90ceb8ee70a15dbc (patch)
tree9dbc360ce6244d196492ec5db33d4bdca3e347b5 /arch/s390/include/asm/trace/diag.h
parentc6eafbf9903c4283ba146098ad54240a24ffbeb1 (diff)
s390/diag: add a s390 prefix to the diagnose trace point
Documentation/trace/tracepoints.txt states that the naming scheme for tracepoints is "subsys_event" to avoid collisions. Rename the 'diagnose' tracepoint to 's390_diagnose'. Reported-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/trace/diag.h')
-rw-r--r--arch/s390/include/asm/trace/diag.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/include/asm/trace/diag.h b/arch/s390/include/asm/trace/diag.h
index 776f307960cc..cc6cfe7889da 100644
--- a/arch/s390/include/asm/trace/diag.h
+++ b/arch/s390/include/asm/trace/diag.h
@@ -19,7 +19,7 @@
19#define TRACE_INCLUDE_PATH asm/trace 19#define TRACE_INCLUDE_PATH asm/trace
20#define TRACE_INCLUDE_FILE diag 20#define TRACE_INCLUDE_FILE diag
21 21
22TRACE_EVENT(diagnose, 22TRACE_EVENT(s390_diagnose,
23 TP_PROTO(unsigned short nr), 23 TP_PROTO(unsigned short nr),
24 TP_ARGS(nr), 24 TP_ARGS(nr),
25 TP_STRUCT__entry( 25 TP_STRUCT__entry(
@@ -32,9 +32,9 @@ TRACE_EVENT(diagnose,
32); 32);
33 33
34#ifdef CONFIG_TRACEPOINTS 34#ifdef CONFIG_TRACEPOINTS
35void trace_diagnose_norecursion(int diag_nr); 35void trace_s390_diagnose_norecursion(int diag_nr);
36#else 36#else
37static inline void trace_diagnose_norecursion(int diag_nr) { } 37static inline void trace_s390_diagnose_norecursion(int diag_nr) { }
38#endif 38#endif
39 39
40#endif /* _TRACE_S390_DIAG_H */ 40#endif /* _TRACE_S390_DIAG_H */