drm/radeon: add initial tracepoint support.
this adds a bo create, and fence seq tracking tracepoints. This is just an initial set to play around with, we should investigate what others we need would be useful. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
f7eb0c5541
commit
99ee7fac18
5 changed files with 101 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <drm/drmP.h>
|
||||
#include "radeon_drm.h"
|
||||
#include "radeon.h"
|
||||
#include "radeon_trace.h"
|
||||
|
||||
|
||||
int radeon_ttm_init(struct radeon_device *rdev);
|
||||
|
@ -137,6 +138,7 @@ retry:
|
|||
list_add_tail(&bo->list, &rdev->gem.objects);
|
||||
mutex_unlock(&bo->rdev->gem.mutex);
|
||||
}
|
||||
trace_radeon_bo_create(bo);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue