[PATCH] tools/perf: Fix usage of perf probe when libtraceevent is missing

2023-01-31 Thread Athira Rajeev
While parsing the tracepoint events in parse_events_add_tracepoint() function, code checks for HAVE_LIBTRACEEVENT support. This is needed since libtraceevent is necessary for tracepoint. But while adding probe points, check for LIBTRACEEVENT is not done in case of perf probe. Hence, in environment

Re: [PATCH] tools/perf: Fix usage of perf probe when libtraceevent is missing

2023-02-01 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 31, 2023 at 07:17:48PM +0530, Athira Rajeev escreveu: > While parsing the tracepoint events in parse_events_add_tracepoint() > function, code checks for HAVE_LIBTRACEEVENT support. This is needed > since libtraceevent is necessary for tracepoint. But while adding > probe points, check f

Re: [PATCH] tools/perf: Fix usage of perf probe when libtraceevent is missing

2023-02-01 Thread Athira Rajeev
> On 02-Feb-2023, at 6:20 AM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jan 31, 2023 at 07:17:48PM +0530, Athira Rajeev escreveu: >> While parsing the tracepoint events in parse_events_add_tracepoint() >> function, code checks for HAVE_LIBTRACEEVENT support. This is needed >> since libtracee