On Fri, Nov 23, 2018 at 1:13 PM Koenig, Christian <Christian.Koenig@xxxxxxx> wrote: > Am 23.11.18 um 18:36 schrieb Eric Anholt: > > Christian König <ckoenig.leichtzumerken@xxxxxxxxx> writes: > >> Am 20.11.18 um 21:57 schrieb Eric Anholt: > >>> Kenny Ho <Kenny.Ho@xxxxxxx> writes: > >>>> Account for the number of command submitted to amdgpu by type on a per > >>>> cgroup basis, for the purpose of profiling/monitoring applications. > >>> For profiling other drivers, I've used perf tracepoints, which let you > >>> get useful timelines of multiple events in the driver. Have you made > >>> use of this stat for productive profiling? > >> Yes, but this is not related to profiling at all. > >> > >> What we want to do is to limit the resource usage of processes. > > That sounds great, and something I'd be interested in for vc4. However, > > as far as I saw explained here, this patch doesn't let you limit > > resource usage of a process and is only useful for > > "profiling/monitoring" so I'm wondering how it is useful for that > > purpose. > > Ok, good to know. I haven't looked at this in deep, but if this is just > for accounting that would certainly be missing the goal. The end goal is to have limit in place. The current patch is mostly to illustrate the structure of the controller and get some early feedback. I will have more soon. Regards, Kenny _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx