From: kernel test robot <lkp@intel.com>
To: "Pierre-Eric Pelloux-Prayer" <pierre-eric.pelloux-prayer@amd.com>,
"Alex Deucher" <alexander.deucher@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Matthew Brost" <matthew.brost@intel.com>,
"Danilo Krummrich" <dakr@kernel.org>,
"Philipp Stanner" <phasta@kernel.org>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>
Cc: oe-kbuild-all@lists.linux.dev,
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>,
Tvrtko Ursulin <tursulin@igalia.com>,
Arvind Yadav <arvind.yadav@amd.com>,
amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v10 08/10] drm: Get rid of drm_sched_job.id
Date: Thu, 22 May 2025 10:27:31 +0800 [thread overview]
Message-ID: <202505221031.qXNz9Ikv-lkp@intel.com> (raw)
In-Reply-To: <20250521154531.10541-9-pierre-eric.pelloux-prayer@amd.com>
Hi Pierre-Eric,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-xe/drm-xe-next]
[also build test ERROR on next-20250521]
[cannot apply to lwn/docs-next linus/master v6.15-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Pierre-Eric-Pelloux-Prayer/drm-debugfs-Output-client_id-in-in-drm_clients_info/20250521-235024
base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link: https://lore.kernel.org/r/20250521154531.10541-9-pierre-eric.pelloux-prayer%40amd.com
patch subject: [PATCH v10 08/10] drm: Get rid of drm_sched_job.id
config: i386-buildonly-randconfig-002-20250522 (https://download.01.org/0day-ci/archive/20250522/202505221031.qXNz9Ikv-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250522/202505221031.qXNz9Ikv-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505221031.qXNz9Ikv-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/trace/define_trace.h:119,
from drivers/gpu/drm/lima/lima_trace.h:50,
from drivers/gpu/drm/lima/lima_trace.c:7:
include/trace/../../drivers/gpu/drm/lima/lima_trace.h: In function 'do_trace_event_raw_event_lima_task':
>> include/trace/../../drivers/gpu/drm/lima/lima_trace.h:24:46: error: 'struct drm_sched_job' has no member named 'id'
24 | __entry->task_id = task->base.id;
| ^
include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
427 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS'
435 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/../../drivers/gpu/drm/lima/lima_trace.h:13:1: note: in expansion of macro 'DECLARE_EVENT_CLASS'
13 | DECLARE_EVENT_CLASS(lima_task,
| ^~~~~~~~~~~~~~~~~~~
include/trace/../../drivers/gpu/drm/lima/lima_trace.h:23:9: note: in expansion of macro 'TP_fast_assign'
23 | TP_fast_assign(
| ^~~~~~~~~~~~~~
In file included from include/trace/define_trace.h:120:
include/trace/../../drivers/gpu/drm/lima/lima_trace.h: In function 'do_perf_trace_lima_task':
>> include/trace/../../drivers/gpu/drm/lima/lima_trace.h:24:46: error: 'struct drm_sched_job' has no member named 'id'
24 | __entry->task_id = task->base.id;
| ^
include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
51 | { assign; } \
| ^~~~~~
include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS'
67 | PARAMS(assign), PARAMS(print)) \
| ^~~~~~
include/trace/../../drivers/gpu/drm/lima/lima_trace.h:13:1: note: in expansion of macro 'DECLARE_EVENT_CLASS'
13 | DECLARE_EVENT_CLASS(lima_task,
| ^~~~~~~~~~~~~~~~~~~
include/trace/../../drivers/gpu/drm/lima/lima_trace.h:23:9: note: in expansion of macro 'TP_fast_assign'
23 | TP_fast_assign(
| ^~~~~~~~~~~~~~
vim +24 include/trace/../../drivers/gpu/drm/lima/lima_trace.h
7f60c4b9d964f6 Qiang Yu 2020-03-07 12
7f60c4b9d964f6 Qiang Yu 2020-03-07 13 DECLARE_EVENT_CLASS(lima_task,
7f60c4b9d964f6 Qiang Yu 2020-03-07 14 TP_PROTO(struct lima_sched_task *task),
7f60c4b9d964f6 Qiang Yu 2020-03-07 15 TP_ARGS(task),
7f60c4b9d964f6 Qiang Yu 2020-03-07 16 TP_STRUCT__entry(
7f60c4b9d964f6 Qiang Yu 2020-03-07 17 __field(uint64_t, task_id)
7f60c4b9d964f6 Qiang Yu 2020-03-07 18 __field(unsigned int, context)
7f60c4b9d964f6 Qiang Yu 2020-03-07 19 __field(unsigned int, seqno)
7f60c4b9d964f6 Qiang Yu 2020-03-07 20 __string(pipe, task->base.sched->name)
7f60c4b9d964f6 Qiang Yu 2020-03-07 21 ),
7f60c4b9d964f6 Qiang Yu 2020-03-07 22
7f60c4b9d964f6 Qiang Yu 2020-03-07 23 TP_fast_assign(
7f60c4b9d964f6 Qiang Yu 2020-03-07 @24 __entry->task_id = task->base.id;
7f60c4b9d964f6 Qiang Yu 2020-03-07 25 __entry->context = task->base.s_fence->finished.context;
7f60c4b9d964f6 Qiang Yu 2020-03-07 26 __entry->seqno = task->base.s_fence->finished.seqno;
2c92ca849fcc6e Steven Rostedt (Google 2024-05-16 27) __assign_str(pipe);
7f60c4b9d964f6 Qiang Yu 2020-03-07 28 ),
7f60c4b9d964f6 Qiang Yu 2020-03-07 29
7f60c4b9d964f6 Qiang Yu 2020-03-07 30 TP_printk("task=%llu, context=%u seqno=%u pipe=%s",
7f60c4b9d964f6 Qiang Yu 2020-03-07 31 __entry->task_id, __entry->context, __entry->seqno,
7f60c4b9d964f6 Qiang Yu 2020-03-07 32 __get_str(pipe))
7f60c4b9d964f6 Qiang Yu 2020-03-07 33 );
7f60c4b9d964f6 Qiang Yu 2020-03-07 34
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-05-22 2:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 15:45 [PATCH v10 00/10] Improve gpu_scheduler trace events + UAPI Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 01/10] drm/debugfs: Output client_id in in drm_clients_info Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 02/10] drm/sched: Store the drm client_id in drm_sched_fence Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 03/10] drm/sched: Add device name to the drm_sched_process_job event Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 04/10] drm/sched: Cleanup gpu_scheduler trace events Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 05/10] drm/sched: Trace dependencies for GPU jobs Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 06/10] drm/sched: Add the drm_client_id to the drm_sched_run/exec_job events Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 07/10] drm/sched: Cleanup event names Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 08/10] drm: Get rid of drm_sched_job.id Pierre-Eric Pelloux-Prayer
2025-05-22 2:27 ` kernel test robot [this message]
2025-05-21 15:45 ` [PATCH v10 09/10] drm/doc: Document some tracepoints as uAPI Pierre-Eric Pelloux-Prayer
2025-05-21 15:45 ` [PATCH v10 10/10] drm/amdgpu: update trace format to match gpu_scheduler_trace Pierre-Eric Pelloux-Prayer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202505221031.qXNz9Ikv-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=arvind.yadav@amd.com \
--cc=christian.koenig@amd.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthew.brost@intel.com \
--cc=mripard@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=phasta@kernel.org \
--cc=pierre-eric.pelloux-prayer@amd.com \
--cc=simona@ffwll.ch \
--cc=tursulin@igalia.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox