mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
perf callchain: Move callchain specific routines from util.[ch]
Where they belong, no point in leaving those in the generic "util" files. Link: http://lkml.kernel.org/n/tip-ljx3iiip1hlfa7a7apjem7ph@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
611f0afee0
commit
56e2e05644
4 changed files with 116 additions and 108 deletions
|
@ -4,12 +4,25 @@
|
|||
#include <poll.h>
|
||||
#include <linux/err.h>
|
||||
#include "evlist.h"
|
||||
#include "callchain.h"
|
||||
#include "evsel.h"
|
||||
#include "event.h"
|
||||
#include "cpumap.h"
|
||||
#include "print_binary.h"
|
||||
#include "thread_map.h"
|
||||
|
||||
/*
|
||||
* Provide these two so that we don't have to link against callchain.c and
|
||||
* start dragging hist.c, etc.
|
||||
*/
|
||||
struct callchain_param callchain_param;
|
||||
|
||||
int parse_callchain_record(const char *arg __maybe_unused,
|
||||
struct callchain_param *param __maybe_unused)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Support debug printing even though util/debug.c is not linked. That means
|
||||
* implementing 'verbose' and 'eprintf'.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue