From: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 4/6] tools: add i915 perf recorder tool
Date: Tue, 18 Feb 2020 21:49:43 +0200 [thread overview]
Message-ID: <f9f80042-89ff-2d98-924b-db18a2ac0bba@intel.com> (raw)
In-Reply-To: <158205461284.8112.894158485277245951@skylake-alporthouse-com>
On 18/02/2020 21:36, Chris Wilson wrote:
> Quoting Lionel Landwerlin (2020-02-18 19:25:08)
>> On 18/02/2020 20:57, Chris Wilson wrote:
>>> Quoting Lionel Landwerlin (2020-02-17 14:21:53)
>>>> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
>>>> ---
>>>> lib/i915-perf.pc.in | 1 +
>>>> lib/i915/perf_data.h | 118 ++
>>>> lib/meson.build | 1 +
>>>> lib/tests/i915_perf_data_alignment.c | 40 +
>>>> lib/tests/meson.build | 1 +
>>>> tools/i915-perf/i915_perf_control.c | 133 +++
>>>> tools/i915-perf/i915_perf_recorder.c | 1052 +++++++++++++++++
>>>> tools/i915-perf/i915_perf_recorder_commands.h | 39 +
>>>> tools/i915-perf/meson.build | 11 +
>>>> 9 files changed, 1396 insertions(+)
>>>> create mode 100644 lib/i915/perf_data.h
>>>> create mode 100644 lib/tests/i915_perf_data_alignment.c
>>>> create mode 100644 tools/i915-perf/i915_perf_control.c
>>>> create mode 100644 tools/i915-perf/i915_perf_recorder.c
>>>> create mode 100644 tools/i915-perf/i915_perf_recorder_commands.h
>>>>
>>>> diff --git a/lib/i915-perf.pc.in b/lib/i915-perf.pc.in
>>>> index e72efdc3..8cfa3dbe 100644
>>>> --- a/lib/i915-perf.pc.in
>>>> +++ b/lib/i915-perf.pc.in
>>>> @@ -6,5 +6,6 @@ includedir=@includedir@
>>>> Name: i915-perf
>>>> Description: i915 perf library
>>>> Version: @version@
>>>> +Requires: libdrm
>>> You only use the uAPI headers, and they are in include/drm-uapi/
>>> Right?
>>> -Chris
>> For IGT yeah, but for another application using this library, it needs
>> the dependency.
> Isn't that a Requires.private:
> No linkage required, but headers are?
> -Chris
The headers are a structure pointer from i915_drm.h
But I can probably forward declare this and potentially drop the need
for any dep :)
-Lionel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2020-02-18 19:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-17 14:21 [igt-dev] [PATCH i-g-t 0/6] New performance recording/replay tools for i915-perf Lionel Landwerlin
2020-02-17 14:21 ` [igt-dev] [PATCH i-g-t 1/6] lib/intel_chipset: identify Elkhart Lake Lionel Landwerlin
2020-02-18 18:47 ` Chris Wilson
2020-02-17 14:21 ` [igt-dev] [PATCH i-g-t 3/6] lib/i915: Add support for loading perf configurations Lionel Landwerlin
2020-02-18 18:52 ` Chris Wilson
2020-02-17 14:21 ` [igt-dev] [PATCH i-g-t 4/6] tools: add i915 perf recorder tool Lionel Landwerlin
2020-02-18 18:57 ` Chris Wilson
2020-02-18 19:25 ` Lionel Landwerlin
2020-02-18 19:36 ` Chris Wilson
2020-02-18 19:49 ` Lionel Landwerlin [this message]
2020-02-18 20:14 ` Lionel Landwerlin
2020-02-18 20:26 ` Chris Wilson
2020-02-17 14:21 ` [igt-dev] [PATCH i-g-t 5/6] lib: add i915 perf data reader Lionel Landwerlin
2020-02-17 14:21 ` [igt-dev] [PATCH i-g-t 6/6] tools: add i915-perf-reader Lionel Landwerlin
2020-02-17 14:27 ` [igt-dev] [PATCH i-g-t 0/6] New performance recording/replay tools for i915-perf Lionel Landwerlin
2020-02-18 18:46 ` Chris Wilson
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=f9f80042-89ff-2d98-924b-db18a2ac0bba@intel.com \
--to=lionel.g.landwerlin@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=igt-dev@lists.freedesktop.org \
/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