Re: where's the definition of trace_kfree_skb?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tuesday 28 March 2017 01:45 PM, Shiyao Ma wrote:
> Hi,
> I saw this function invocation, 
> trace_kfree_skb(skb, __builtin_return_address(0));
> 
> so I grepped the source for "trace_kfree_skb", but I found no where it's defined.
> 
> Where's the definition for it?
> 

It is a tracepoint call.

Tracepoints are defined using DECLARE_TRACE or TRACE_EVENT macros [1].

'git grep "TRACE.*kfree_skb"' gives the desired definition.



[1]: https://www.kernel.org/doc/Documentation/trace/tracepoints.txt


Regards,
rawcoder

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux