[Mesa-dev] [PATCH 2/2] intel: aubinator: enable loading dumps from standard input
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Tue Oct 4 15:03:28 UTC 2016
On 04/10/16 16:01, Eero Tamminen wrote:
> Hi,
>
> On 04.10.2016 17:38, Lionel Landwerlin wrote:
>> In conjuction with an intel_aubdump change, you can now look at your
>> application's output like this :
>>
>> $ intel_aubdump -c '/path/to/aubinator --gen=hsw' my_gl_app
>
> Maybe you could add also a patch to document this usage?
Thanks, forgot about the print_help().
>
>
>> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
>> Cc: Sirisha Gandikota <Sirisha.Gandikota at intel.com>
>> Cc: Kristian Høgsberg <krh at bitplanet.net>
>> ---
>> src/intel/tools/aubinator.c | 162
>> +++++++++++++++++++++++++++++++++++---------
>> 1 file changed, 130 insertions(+), 32 deletions(-)
>>
>> diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
>> index 83328b5..73e6012 100644
>> --- a/src/intel/tools/aubinator.c
>> +++ b/src/intel/tools/aubinator.c
> ...
>> + /* mmap a terabyte for our gtt space. */
>> + gtt_size = 1ul << 30;
>
> On 32-bit systems, you run out of address space when your process'
> total mappings size increase to several GBs.
>
Ooops, sorry about that.
That's remaining debug stuff from running valgrind :/
>
> - Eero
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list