Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8381894 authored by Conner Huff's avatar Conner Huff Committed by Sean Tranchetti
Browse files

net: qualcomm: rmnet: Move tracepoint definitions to local file



During the initial porting process to 4.19, RmNet's tracepoints were moved
to the pre-existing trace/events/rmnet.h file. However, for backward
compatibility with older targets, they need to be moved back to the
original location.  This has the added benefit of reducing the clutter
in the trace/events directory.

Change-Id: I16678e0737a14eaf24df6162656d0ef067e27a39
Signed-off-by: default avatarConner Huff <chuff@codeaurora.org>
Signed-off-by: default avatarSean Tranchetti <stranche@codeaurora.org>
parent 3d91e789
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
# Makefile for the RMNET module
#

CFLAGS_rmnet_handlers.o = -I$(src)

rmnet-y		 := rmnet_config.o
rmnet-y		 += rmnet_vnd.o
rmnet-y		 += rmnet_handlers.o
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
#define RMNET_IP_VERSION_4 0x40
#define RMNET_IP_VERSION_6 0x60
#define CREATE_TRACE_POINTS
#include <trace/events/rmnet.h>
#include "rmnet_trace.h"

EXPORT_TRACEPOINT_SYMBOL(rmnet_shs_low);
EXPORT_TRACEPOINT_SYMBOL(rmnet_shs_high);
+3 −0
Original line number Diff line number Diff line
@@ -4,6 +4,9 @@

#undef TRACE_SYSTEM
#define TRACE_SYSTEM rmnet
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#define TRACE_INCLUDE_FILE rmnet_trace

#if !defined(_TRACE_RMNET_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_RMNET_H
+1 −1
Original line number Diff line number Diff line
@@ -14,10 +14,10 @@
#include "rmnet_private.h"
#include "rmnet_map.h"
#include "rmnet_vnd.h"
#include "rmnet_trace.h"

#include <soc/qcom/qmi_rmnet.h>
#include <soc/qcom/rmnet_qmi.h>
#include <trace/events/rmnet.h>

/* RX/TX Fixup */