fix: backport of fix: tracepoint: Optimize using static_call() (v5.10)
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 24 Nov 2020 16:11:42 +0000 (11:11 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 24 Nov 2020 16:23:17 +0000 (11:23 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I94f2b845f11654e639f03254185980de527a4ca8

lttng-statedump-impl.c

index e0b19b42036d4561c4acdf8dbb284ae75e15962f..a8c32db5e83eea3ac0933b15f54e027b55687105 100644 (file)
@@ -72,10 +72,9 @@ LTTNG_DEFINE_TRACE(lttng_statedump_interrupt,
 
 LTTNG_DEFINE_TRACE(lttng_statedump_file_descriptor,
        TP_PROTO(struct lttng_session *session,
-               struct files_struct *files,
-               int fd, const char *filename,
+               struct task_struct *p, int fd, const char *filename,
                unsigned int flags, fmode_t fmode),
-       TP_ARGS(session, files, fd, filename, flags, fmode));
+       TP_ARGS(session, p, fd, filename, flags, fmode));
 
 LTTNG_DEFINE_TRACE(lttng_statedump_start,
        TP_PROTO(struct lttng_session *session),
@@ -85,8 +84,8 @@ LTTNG_DEFINE_TRACE(lttng_statedump_process_state,
        TP_PROTO(struct lttng_session *session,
                struct task_struct *p,
                int type, int mode, int submode, int status,
-               struct files_struct *files),
-       TP_ARGS(session, p, type, mode, submode, status, files));
+               struct pid_namespace *pid_ns),
+       TP_ARGS(session, p, type, mode, submode, status, pid_ns));
 
 LTTNG_DEFINE_TRACE(lttng_statedump_network_interface,
        TP_PROTO(struct lttng_session *session,
This page took 0.026981 seconds and 4 git commands to generate.