Re: [PATCH 5/9] perf tools: Introduce 'P' modifier
From: Jiri Olsa
Date: Tue Oct 06 2015 - 03:01:55 EST
On Mon, Oct 05, 2015 at 04:20:40PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Oct 05, 2015 at 08:06:05PM +0200, Jiri Olsa escreveu:
> > The 'P' will cause the event to get maximum possible
> > detected precise level.
> >
> > Following record:
> > $ perf record -e cycles:P ...
> >
> > will detect maximum precise level for 'cycles' event
> > and use it.
>
> I had to do a 'make -C tools/perf clean' to get this to work, i.e. it is
> not noticing that the parser files were changed and thus need to run
> again, can you please take a look?
can't see that:
[jolsa@krava perf]$ make
BUILD: Doing 'make -j4' parallel build
CC util/parse-events.o
LD util/libperf-in.o
LD libperf-in.o
AR libperf.a
LINK perf
LINK libperf-gtk.so
[jolsa@krava perf]$ touch util/parse-events.l
[jolsa@krava perf]$ make
BUILD: Doing 'make -j4' parallel build
FLEX util/parse-events-flex.c
CC util/parse-events-flex.o
CC util/parse-events.o
LD util/libperf-in.o
LD libperf-in.o
AR libperf.a
LINK perf
LINK libperf-gtk.so
[jolsa@krava perf]$ touch util/parse-events.y
[jolsa@krava perf]$ make
BUILD: Doing 'make -j4' parallel build
BISON util/parse-events-bison.c
FLEX util/parse-events-flex.c
CC util/parse-events-bison.o
CC util/parse-events.o
CC util/parse-events-flex.o
LD util/libperf-in.o
LD libperf-in.o
AR libperf.a
LINK perf
LINK libperf-gtk.so
[jolsa@krava linux-perf]$ make -C tools/perf
make: Entering directory '/home/jolsa/kernel/linux-perf/tools/perf'
BUILD: Doing 'make -j4' parallel build
CC util/parse-events.o
LD util/libperf-in.o
LD libperf-in.o
AR libperf.a
LINK perf
LINK libperf-gtk.so
make: Leaving directory '/home/jolsa/kernel/linux-perf/tools/perf'
[jolsa@krava linux-perf]$ make -C tools/perf
make: Entering directory '/home/jolsa/kernel/linux-perf/tools/perf'
BUILD: Doing 'make -j4' parallel build
BISON util/parse-events-bison.c
FLEX util/parse-events-flex.c
CC util/parse-events-bison.o
CC util/parse-events.o
CC util/parse-events-flex.o
LD util/libperf-in.o
LD libperf-in.o
AR libperf.a
LINK perf
LINK libperf-gtk.so
make: Leaving directory '/home/jolsa/kernel/linux-perf/tools/perf'
[jolsa@krava linux-perf]$ make -C tools/perf
make: Entering directory '/home/jolsa/kernel/linux-perf/tools/perf'
BUILD: Doing 'make -j4' parallel build
FLEX util/parse-events-flex.c
CC util/parse-events-flex.o
CC util/parse-events.o
LD util/libperf-in.o
LD libperf-in.o
AR libperf.a
LINK perf
LINK libperf-gtk.so
make: Leaving directory '/home/jolsa/kernel/linux-perf/tools/perf'
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/