mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] perf bench: Adjusting concerns around asynchronous-signal-safety?
@ 2024-07-22  9:44 Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2024-07-22  9:44 UTC (permalink / raw)
  To: linux-perf-users, kernel-janitors, Adrian Hunter,
	Alexander Shishkin, Arnaldo Carvalho de Melo, Athira Rajeev,
	Ian Rogers, Ingo Molnar, James Clark, Jiri Olsa, Kan Liang,
	Mark Rutland, Namhyung Kim, Peter Zijlstra
  Cc: LKML

Hello,

The functions “gettimeofday” and “timersub” are called within the signal
handler “toggle_done” so far.
https://elixir.bootlin.com/linux/v6.10/source/tools/perf/bench/epoll-ctl.c#L90

Do such implementation details trigger any programming concerns according to
asynchronous-signal-safety?
https://wiki.sei.cmu.edu/confluence/display/c/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+handlers

Regards,
Markus

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-22  9:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-22  9:44 [RFC] perf bench: Adjusting concerns around asynchronous-signal-safety? Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®