Re: [PATCH v2 07/20] kernel-shark: Add basic methods for Data streams

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

 



On Thu, 29 Oct 2020 16:49:03 +0200
"Yordan Karadzhov (VMware)" <y.karadz@xxxxxxxxx> wrote:

> Maybe I don't understand your idea very well, but I think what you 
> suggest has very different behavior. What I want is the implementation 
> of the interface to stay in the same header file (libkshark.h). In the 
> future we can add more interfaces but this will be again in the same 
> header (libkshark.h).

Maybe I got confused ;-)

Is there going to be different interface structures? Why the "void *"
and not just supply a "struct kshark_data_stream *"?

That way at least you have some kind of type checking when tasks move
things around. I try to avoid using "void *" because it can easily be
the source of unwanted bugs, due to the lack of type checking.

-- Steve



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux