[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1367222415.4656.61.camel@marge.simpson.net>
Date: Mon, 29 Apr 2013 10:00:15 +0200
From: Mike Galbraith <bitbucket@...ine.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@...radead.org>
Subject: perf: report loops endlessly if record was killed via SIGTERM
Boring notabug report, but..
(Dr. Dr., perf acts all dainbramaged when you shoot it in the head)
reproducer: perf record -a -g& sleep 1;whatever;killall perf
Discovered because AIM7 needs input, and does not run properly when
profiled via the more conventional perf record -a -g -- ./multitask -nl
-f. Ergo, start perf record, run AIM7, kill perf. Say SIGINT instead,
and it works as expected. SIGTERM leaves perf.data in a bad state that
report can't deal with, but it'll happily keep trying forever.
Only mentioned because some other user might try to workaround input
nogo thingy and meet the same.
-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists