From: Mateusz Moscicki Date: Thu, 18 Jul 2019 15:58:38 +0000 (+0200) Subject: Pass the executable name to the minicoredumper X-Git-Tag: accepted/tizen/unified/20190725.112358~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F210397%2F5;p=platform%2Fcore%2Fsystem%2Fcrash-worker.git Pass the executable name to the minicoredumper Change-Id: Iccd4abead0a87873d05e05333630bd859d34ef46 --- diff --git a/src/crash-manager/crash-manager.c b/src/crash-manager/crash-manager.c index 030a1ce..fa24663 100644 --- a/src/crash-manager/crash-manager.c +++ b/src/crash-manager/crash-manager.c @@ -748,7 +748,7 @@ static bool execute_minicoredump(struct crash_info *cinfo, int *exit_code) sig_str, // %s - number of signal time_str, // %t - time of dump "localhost", // %h - hostname - "core", // %e - exe name (need for result filename) + basename(cinfo->cmd_line), // %e - exe name (need for result filename) MINICOREDUMPER_CONFIG_PATH, // config file "-d", cinfo->pfx, // temp dir