aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sigchain.h
blob: 1a53c11265fdda78357112f3c3e7bd72a936afe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __PERF_SIGCHAIN_H
#define __PERF_SIGCHAIN_H

typedef void (*sigchain_fun)(int);

int sigchain_push(int sig, sigchain_fun f);
int sigchain_pop(int sig);

void sigchain_push_common(sigchain_fun f);

#endif /* __PERF_SIGCHAIN_H */