surface send_stats: add process_name to parameter
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Wed, 27 Nov 2013 10:32:20 +0000 (19:32 +0900)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Wed, 27 Nov 2013 19:53:50 +0000 (20:53 +0100)
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 <NOBUHIKO_TANIBATA@denso.co.jp>
ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c
weston-ivi-shell/src/ivi-shell.c

index 74c551f..8fa7d7c 100644 (file)
@@ -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) {
index 5f32c87..d9c4bb9 100644 (file)
@@ -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