trace: update shm name to match event lib
Add the '/' prefix to the trace shm name. Change-Id: I4cf1011b639f299314ea379ba3fb626f5c2c787a Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
c711736d6f
commit
22f741d539
@ -350,7 +350,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
snprintf(shm_name, sizeof(shm_name), "%s_trace.%d", app_name, g_instance_id);
|
||||
snprintf(shm_name, sizeof(shm_name), "/%s_trace.%d", app_name, g_instance_id);
|
||||
fd = shm_open(shm_name, O_RDONLY, 0600);
|
||||
if (fd < 0) {
|
||||
fprintf(stderr, "Could not open shm %s.\n", shm_name);
|
||||
|
Loading…
Reference in New Issue
Block a user