Skip to content

Commit bb85338

Browse files
committed
drm/sched: Add missing argument to __assign_str()
JIRA: https://issues.redhat.com/browse/RHEL-113577 Upstream Status: RHEL only Upstream __assign_str() takes 1 arguments but in this tree 2 arguments are required. The missing argument needs to match the string passed to __string() in TP_STRUCT__entry(). For a more detailed explanation see: https://lore.kernel.org/linux-trace-kernel/20240222211442.634192653@goodmis.org/ NOTE: This commit does not compile due to missing RHEL-specific fix-ups, which are split out into separate Git commits following this one. If git bisect selected this commit, run "git bisect skip" and try again. Repeat this until it selects a commit which compiles. Signed-off-by: José Expósito <jexposit@redhat.com>
1 parent eeb8ac8 commit bb85338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/scheduler/gpu_scheduler_trace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ DECLARE_EVENT_CLASS(drm_sched_job,
7272
__entry->job_count = spsc_queue_count(&entity->job_queue);
7373
__entry->hw_job_count = atomic_read(
7474
&sched_job->sched->credit_count);
75-
__assign_str(dev);
75+
__assign_str(dev, dev_name(sched_job->sched->dev));
7676
__entry->fence_context = sched_job->s_fence->finished.context;
7777
__entry->fence_seqno = sched_job->s_fence->finished.seqno;
7878
__entry->client_id = sched_job->s_fence->drm_client_id;

0 commit comments

Comments
 (0)