From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Soham Purkait <soham.purkait@intel.com>,
igt-dev@lists.freedesktop.org, riana.tauro@intel.com,
badal.nilawar@intel.com, kamil.konieczny@intel.com,
anshuman.gupta@intel.com, umesh.nerlige.ramappa@intel.com
Subject: Re: [PATCH i-g-t v5 1/5] tools: Rename tools/gputop to tools/gputop.src
Date: Fri, 23 Jan 2026 05:52:07 -0800 [thread overview]
Message-ID: <87o6mkighk.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20260123134528.d7px67wm2a35oc7s@kamilkon-DESK.igk.intel.com>
On Fri, 23 Jan 2026 05:45:28 -0800, Kamil Konieczny wrote:
>
> Hi Soham,
> On 2026-01-22 at 14:15:22 +0530, Soham Purkait wrote:
>
> I guess it is v6, not v5?
>
> > The GPUTOP source directory is renamed to gputop.src
>
> s/GPUTOP/gputop/
> > under tools/ path.
>
> imho here a little more explanation why, like:
>
> to compile binary into build/tools/gputop file.
>
> This could be done at merge (unless another version is
> needed).
>
> LGTM
> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
>
> Regards,
> Kamil
>
> >
> > v1:
> > - Add meson build files accordingly to generate
> > the binary under tools. (Kamil)
> >
> > Signed-off-by: Soham Purkait <soham.purkait@intel.com>
> > ---
> > tools/{ => gputop.src}/gputop.c | 0
Can't we name the directory 'gputop' if we are moving gputop.c into the
directory.
tools/gputop/ looks better than tools/gputop.src, fwiw.
> > tools/gputop.src/meson.build | 1 +
> > tools/{gputop => gputop.src}/utils.c | 0
> > tools/{gputop => gputop.src}/utils.h | 0
> > tools/{gputop => gputop.src}/xe_gputop.c | 0
> > tools/{gputop => gputop.src}/xe_gputop.h | 0
> > tools/meson.build | 11 ++++++-----
> > 7 files changed, 7 insertions(+), 5 deletions(-)
> > rename tools/{ => gputop.src}/gputop.c (100%)
> > create mode 100644 tools/gputop.src/meson.build
> > rename tools/{gputop => gputop.src}/utils.c (100%)
> > rename tools/{gputop => gputop.src}/utils.h (100%)
> > rename tools/{gputop => gputop.src}/xe_gputop.c (100%)
> > rename tools/{gputop => gputop.src}/xe_gputop.h (100%)
> >
> > diff --git a/tools/gputop.c b/tools/gputop.src/gputop.c
> > similarity index 100%
> > rename from tools/gputop.c
> > rename to tools/gputop.src/gputop.c
> > diff --git a/tools/gputop.src/meson.build b/tools/gputop.src/meson.build
> > new file mode 100644
> > index 000000000..ec39f4c7a
> > --- /dev/null
> > +++ b/tools/gputop.src/meson.build
> > @@ -0,0 +1 @@
> > +gputop_src = files('gputop.c')
> > diff --git a/tools/gputop/utils.c b/tools/gputop.src/utils.c
> > similarity index 100%
> > rename from tools/gputop/utils.c
> > rename to tools/gputop.src/utils.c
> > diff --git a/tools/gputop/utils.h b/tools/gputop.src/utils.h
> > similarity index 100%
> > rename from tools/gputop/utils.h
> > rename to tools/gputop.src/utils.h
> > diff --git a/tools/gputop/xe_gputop.c b/tools/gputop.src/xe_gputop.c
> > similarity index 100%
> > rename from tools/gputop/xe_gputop.c
> > rename to tools/gputop.src/xe_gputop.c
> > diff --git a/tools/gputop/xe_gputop.h b/tools/gputop.src/xe_gputop.h
> > similarity index 100%
> > rename from tools/gputop/xe_gputop.h
> > rename to tools/gputop.src/xe_gputop.h
> > diff --git a/tools/meson.build b/tools/meson.build
> > index 8185ba160..521607a4c 100644
> > --- a/tools/meson.build
> > +++ b/tools/meson.build
> > @@ -70,11 +70,6 @@ if libudev.found()
> > install : true)
> > endif
> >
> > -executable('gputop', 'gputop.c',
> > - install : true,
> > - install_rpath : bindir_rpathdir,
> > - dependencies : [lib_igt_drm_clients,lib_igt_drm_fdinfo,lib_igt_profiling,math])
> > -
> > intel_l3_parity_src = [ 'intel_l3_parity.c', 'intel_l3_udev_listener.c' ]
> > executable('intel_l3_parity', sources : intel_l3_parity_src,
> > dependencies : tool_deps,
> > @@ -123,3 +118,9 @@ endif
> > subdir('i915-perf')
> > subdir('xe-perf')
> > subdir('null_state_gen')
> > +
> > +subdir('gputop.src')
> > +executable('gputop', sources : gputop_src,
> > + install : true,
> > + install_rpath : bindir_rpathdir,
> > + dependencies : [lib_igt_drm_clients,lib_igt_drm_fdinfo,lib_igt_profiling,math],)
> > --
> > 2.34.1
> >
next prev parent reply other threads:[~2026-01-23 13:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 8:45 [PATCH i-g-t v5 0/5] Close any open drm device after engine initialization in GPUTOP Soham Purkait
2026-01-22 8:45 ` [PATCH i-g-t v5 1/5] tools: Rename tools/gputop to tools/gputop.src Soham Purkait
2026-01-23 13:45 ` Kamil Konieczny
2026-01-23 13:52 ` Dixit, Ashutosh [this message]
2026-01-23 15:18 ` Kamil Konieczny
2026-01-23 19:25 ` Dixit, Ashutosh
2026-01-30 8:16 ` Purkait, Soham
2026-01-22 8:45 ` [PATCH i-g-t v5 2/5] tools/gputop.src/utils: Add clamp macro to remove dependency on lib/xe/* Soham Purkait
2026-01-23 14:08 ` Kamil Konieczny
2026-01-22 8:45 ` [PATCH i-g-t v5 3/5] tools/gputop.src/xe_gputop: Close card_fd after engine population in xe_populate_engines() Soham Purkait
2026-01-23 14:39 ` Kamil Konieczny
2026-01-22 8:45 ` [PATCH i-g-t v5 4/5] tools/gputop.src/gputop: Enable support for multiple GPUs and instances Soham Purkait
2026-01-22 8:45 ` [PATCH i-g-t v5 5/5] tools/gputop.src/gputop: Add command line option for device filter Soham Purkait
2026-01-22 9:30 ` ✓ Xe.CI.BAT: success for Close any open drm device after engine initialization in GPUTOP (rev7) Patchwork
2026-01-22 9:54 ` ✓ i915.CI.BAT: " Patchwork
2026-01-22 19:18 ` ✗ i915.CI.Full: failure " Patchwork
2026-01-22 19:45 ` ✗ Xe.CI.Full: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-01-22 6:36 [PATCH i-g-t v5 0/5] Close any open drm device after engine initialization in GPUTOP Soham Purkait
2026-01-22 6:36 ` [PATCH i-g-t v5 1/5] tools: Rename tools/gputop to tools/gputop.src Soham Purkait
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=87o6mkighk.wl-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=badal.nilawar@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@intel.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=riana.tauro@intel.com \
--cc=soham.purkait@intel.com \
--cc=umesh.nerlige.ramappa@intel.com \
/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