perf tools: Introduce dump_stack signal helper
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Feb 2015 18:34:23 +0000 (15:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Feb 2015 18:34:23 +0000 (15:34 -0300)
commit07c1a0dadfce976e9877c55ce5212dd14753c91d
tree4c2e688b84fb3bf437a4fe2898ae51494f9cf540
parent280836812f5f821d26393268010f211160874810
perf tools: Introduce dump_stack signal helper

To use in stdio based tools, like 'trace'.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-79kjmerlw6d88csyx1afzwvn@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/util.c
tools/perf/util/util.h