From 25e086f9c00f8486649a2a16d2d86549db2d07b5 Mon Sep 17 00:00:00 2001 From: Nobuhiko Tanibata Date: Wed, 27 Nov 2013 19:32:20 +0900 Subject: [PATCH] surface send_stats: add process_name to parameter ilmControl: add it to parameter of controller_surface_listener_stats ivi-shell: add it to parameter of ivi_controller_surface.send_stats Signed-off-by: Nobuhiko Tanibata --- ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c | 4 +++- weston-ivi-shell/src/ivi-shell.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c index 74c551f..8fa7d7c 100644 --- a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c +++ b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c @@ -1112,10 +1112,12 @@ controller_surface_listener_stats(void *data, uint32_t redraw_count, uint32_t frame_count, uint32_t update_count, - uint32_t pid) + uint32_t pid, + const char *process_name) { struct ilm_control_context *ctx = data; struct surface_context *ctx_surf = NULL; + (void)process_name; ctx_surf = get_surface_context_by_controller(ctx, controller); if (ctx_surf == NULL) { diff --git a/weston-ivi-shell/src/ivi-shell.c b/weston-ivi-shell/src/ivi-shell.c index 5f32c87..d9c4bb9 100644 --- a/weston-ivi-shell/src/ivi-shell.c +++ b/weston-ivi-shell/src/ivi-shell.c @@ -1120,7 +1120,7 @@ controller_surface_send_stats(struct wl_client *client, wl_client_get_credentials(client, &pid, &uid, &gid); ivi_controller_surface_send_stats(resource, 0, 0, - ivisurf->update_count, pid); + ivisurf->update_count, pid, ""); } static void -- 2.7.4